Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
117 Views

pip3 install intel-numpy has done, but still fails to import numpy

I have installed intel-numpy by comand: pip3 intall intel-numpy, and i never installed any other numpy before this,

then run command: pip3 show intel-numpy, it shows below information:

Name: intel-numpy
Version: 1.15.1
Summary: NumPy optimized with Intel(R) MKL library
Home-page: https://software.intel.com/en-us/articles/empowering-science-with-high-performance-python
Author: Intel Corporation
Author-email: scripting@intel.com
License: Proprietary - Intel
Location: /usr/local/lib/python3.5/dist-packages
Requires: icc-rt, mkl-random, mkl, tbb4py, mkl-fft
Required-by: mkl-random, mkl-fft

 

Maybe it turns out that intel-numpy has been installed successfully,

but when entering python3 console, run command: import numpy as np, it show the below information:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'numpy'

 

Could you give me some help about this issue?

 

Thanks

Mario

0 Kudos
2 Replies
Highlighted
Employee
117 Views

Mario,

Please send the output of pip3 list so I can see what else is in the environment. Also, did you install any other packages after the "pip3 install intel-numpy" command?

Todd

0 Kudos
Highlighted
Beginner
91 Views

This is a common problem if you install numpy versions with intermixed pip and numpy dependencies in an environment.  Can you post your conda list and conda info output for me to look at if you are using conda?

It may be possible that ip has not collected one of the dependencies right then.  You'll need to remove the packages from /site-packages/numpy/ and try to again install Numpy.  Multiarray is a common failure in NumPy if the installation fails to install correctly.

Best Regards,

KDL
0 Kudos