![]() ![]() ![]() I am not sure if I installed NumPy incorrectly or if my virtual environment is conflicting with Nose. How to configure the links and the libraries so that one can tell Numpy-1.9 to use OpenBLAS instead of ATLAS without rebuilding the Numpy-1.9 package. I called the environment in the terminal by: source my_new_env/bin/activateĪnd then I tried to import numpy in the terminal that way, but then I got the error: (my_new_env) $ sudo python -c 'import numpy numpy.test()' I built Numpy-1.9 with my own ATLAS, compiled OpenBLAS from the source code and installed the 'libopenblaso' (OpenMP version) and 'libopenblasp' (pthreads version) in the repository of OpenSUSE 13.1. Install ATLAS/MKL/OpenBLAS if you haven't already. ![]() The installation process may take a few minutes, depending on your internet connection speed. This command will download and install Scipy and its dependencies on your system. In the Terminal window, type the following command and press Enter: pip install scipy. I have a virtual environment installed - virtual env wrapper. Mac OS X A universal binary installer for NumPy is available from the download site. Now that we have NumPy installed, we can proceed with installing Scipy. I also tried it from the terminal and got the same error. Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/numpy/core/multiarray.so: no matching architecture in universal wrapper ImportError: dlopen(/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/numpy/core/multiarray.so, 2): no suitable image found. This is the error I received: Traceback (most recent call last):įile "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/numpy/_init_.py", line 137, in įile "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/numpy/add_newdocs.py", line 9, in įile "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/_init_.py", line 4, in įile "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/type_check.py", line 8, in įile "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/numpy/core/_init_.py", line 5, in When I went to Idle and typed in > import numpy as np I started from the links on SciPy's OS X page and eventually arrived at the SourceForge download site.įrom there, I chose the Mac OS X installer numpy-1.6.-macosx10.3.dmg. I used this website to guide me through the installation process. For the tools we need, I am trying to install NumPy. I am using Python for my Linear Algebra course for programming. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |