I am using a ipython conda python 2.7 virtual environment.
After a suggestion of a probable conflict between conda numpy and pip numpy, i uninstalled the "pip numpy" using pip uninstall numpy
.
When I try importing numpy
, i now get the following error :
ImportError: No module named numpy
If i execute conda list
in my environment, i get
... [list of other packages]
numpy 1.11.3 py27_0
...
which seems to indicate that conda numpy
package is still installed. I also can't install numpy
using conda install
, which says that 'All requested packages already installed.'
a print sys.path will result in
'', '/home/<user>/anaconda3/envs/py27/lib/python27.zip', '/home/<user>/anaconda3/envs/py27/lib/python2.7', '/home/<user>/anaconda3/envs/py27/lib/python2.7/plat-linux2', '/home/<user>/anaconda3/envs/py27/lib/python2.7/lib-tk', '/home/<user>/anaconda3/envs/py27/lib/python2.7/lib-old', '/home/<user>/anaconda3/envs/py27/lib/python2.7/lib-dynload', '/home/<user>/anaconda3/envs/py27/lib/python2.7/site-packages', '/home/<user>/anaconda3/envs/py27/lib/python2.7/site-packages/Sphinx-1.5.1-py2.7.egg', '/home/<user>/anaconda3/envs/py27/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg'
Can anyone explain me why i cant use the numpy package listed in the conda packages ?
Thank you !