I lost my hope trying to resolve this.
I had the 1.3.0 version of numpy
installed and I need it to be the latest, so I updated it with:
pip install --upgrade numpy
which ended successfully. Then using print np.__version__
in my code I found out it's still 1.3.0 version. So then I uninstalled numpy
with pip
and tried to install it again using Matt Fenwick's answer there with:
pip install -v -v -v numpy
During the installation, which was successful, I got this:
Using version 1.8.0 (newest of versions: 1.8.0, 1.8.0, 1.7.1, 1.7.1, 1.7.0, 1.7.0, 1.6.2, 1.6.2, 1.6.1, 1.6.1, 1.6.0, 1.6.0, 1.5.1, 1.5.0, 1.4.1, 1.3.0)
In the /usr/local/lib/python2.6/dist-packages
I also see correct package info for a newest version without a hint of 1.3.0.
But np.__version__ still
gives me 1.3.0! Please help me!