The Openmdao program relies on SCIPY and requires a version of 0.11.0 or more, which is a bit hard to set up. Online check can apt-get install python-scipy installation, but version only to 0.08.0 (here cannot help but to ask the source of maintenance staff hair go, if support higher, at all not a little thing). So follow the Openmdao official web-based tutorial to download the source program to compile the installation, and then enter the following several commands, presumably let Python know that the package is installed:
Cd/usr/local/lib/python2. 7/dist-packagessudofindchmod o=Rx {} \; sudo Find chmod o=r {} \;
But unfortunately no matter, my local path there is no scipy this file, in the/usr/lib/python2.7 there is, so the CD to that path as the operation, is still not. Can not help but doubt, is not updated a good version, so check python how to automatically install third-party library, get Pip and Easy_install two methods, are installed in the Apt-get, choose the PIP, first introduce three commonly used methods:
Install ABC install PIP uninstall ABC offload pip freeze list third-party libraries and version numbers
Unfortunately scipy is still not installed successfully. It is suspected that there are too many versions of Python installed.
Back to the dormitory with their own test, Ben only installed python2.7.3. This time did not feel rushed to act, Baidu a variety of methods, just know scipy also rely on blas,lapack,atlas these non-Python libraries (this is not the beginning should be clear?!) )。 It is said that Atlas is not good to wear, so look at SciPy's install.txt (this should also be studied before starting the installation!). ), it says sudo apt-get install python python-dev libatlas3-base-dev gcc gfortran g++ can solve all the dependent libraries, try to find no libatlas3-base-dev, Had to install a libatlas-base-dev, insurance and put Blas and Lapack installed, pip install scipy unexpectedly passed! Then install Openmdao unexpectedly also OK (hint no zmq.h, do not know what thing). In the future to install these things, first of all to understand the dependencies, the first to install the dependency of the library and then toss the other.
SciPy0.11.0 (or higher) installation