pip 3.5 vs python 3.4, what the heck?

Adam Funk a24061 at ducksburg.com
Mon Dec 14 16:45:36 UTC 2015


On 2015-12-14, Adam Funk wrote:

> I'm interested in using NLTK with Python 3 on an Ubuntu 15.10 system.
> So I did `sudo pip3 install -U nltk`, which seemed to work, then I
> remembered to `sudo chmod -R /usr/local/lib/python*` (because I've had
> permissions obstacles to pip installations previously).  Then:
...
> It turns out pip3 installed the nltk package in
> '/usr/local/lib/python3.5/' instead of '.../python3.4/'.  A bit more
> poking around turns up a '/usr/bin/python3.5' command, so:

I found a workaround:

sudo python3 -m pip install nltk

but it still seems a bit sloppy to me that Ubuntu has this
inconsistency.





More information about the ubuntu-users mailing list