i have used easy_install install numpy install numpy 1.7.1, when check version in python:
python -c "import numpy; print numpy.version.version" it says 1.6.2
what doing wrong?
most likely, have installed numpy debian repository or pip installation other parameters. use
python -c 'import os,numpy;print(numpy.__file__)' to find out rogue numpy version lies. while can delete directory, can ask package manager package file belongs to. again, on debian system:
$ python -c 'import numpy;print(numpy.__file__)' /usr/lib/pymodules/python2.7/numpy/__init__.pyc $ readlink -f /usr/lib/pymodules/python2.7/numpy/__init__.py /usr/share/pyshared/numpy/__init__.py $ dpkg -s /usr/share/pyshared/numpy/__init__.py python-numpy: /usr/share/pyshared/numpy/__init__.py $ sudo apt-get remove python-numpy
Comments
Post a Comment