Can't see numpy etc after upgrading Python on Ubuntu

Vincent Vande Vyvre vincent.vande.vyvre at telenet.be
Tue Dec 20 04:28:54 EST 2016


Le 20/12/16 à 10:13, Chris Angelico a écrit :
> On Tue, Dec 20, 2016 at 7:36 PM, Vincent Vande Vyvre
> <vincent.vande.vyvre at telenet.be> wrote:
>> It seems you have shadowed your default python2 with the new one. A very bad
>> idea.
> Only because /usr/local/bin is ahead of /usr/bin in PATH.
That's the problem.
>
>> The link /usr/bin/python *MUST* point to the 2.7.3 version, if not, restore
>> it.
> It does. When he installs pip via apt, it manages his original 2.7.3.
> Anything that explicitly shebangs to /usr/bin/python will be
> unaffected by this.
>
> ChrisA

Not sure, when the OP enter python into a terminal he have:

peter at sirboris:~$ python
Python 2.7.12 (default, Dec 11 2016, 22:16:38)

So, python point now to the new one. No? VVV



More information about the Python-list mailing list