Can't see numpy etc after upgrading Python on Ubuntu

Chris Angelico rosuav at gmail.com
Tue Dec 20 02:45:32 EST 2016


On Tue, Dec 20, 2016 at 5:19 PM,  <ozpeterballard at gmail.com> wrote:
> Thanks Chris for replying, but it didn't work. The upgrade happened, but still python can't see numpy! So it seems to be a path problem. The numpy (and scipy and matplotlib) files are there, so surely in principle it's a simple matter of pointing my python path at them?
>
> Any ideas how?

You just installed pip into your /usr/bin/python, not
/usr/local/bin/python. You'll need to get pip in that Python and use
that. I'm not sure the best way to install pip into a 2.7 - someone
else on this list can advise.

ChrisA



More information about the Python-list mailing list