(Jun-12-2018, 10:30 AM)Nimya Wrote: $ python -c 'import numpy; print(numpy.__file__)'
/usr/local/lib/python2.7/dist-packages/numpy/__init__.pyc
$ pip show numpy
Name: numpy
You could have used
Output:$ python3 -c 'import numpy; print(numpy.__file__)'
$ pip3 show numpy
(The latter if you have pip3 installed as distinct package - which you should have)PS You have the right version of numpy installed - you just try to invoke it with the wrong version of Python
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.