Comment 16 for bug 1658844

Revision history for this message
Barry Warsaw (barry) wrote :

Something from the description is confusing me:

"""
This is new install of lubuntu 14.04, installing python-pip
Most recent python-pip version, installed 23 Jan 2017, does not install /usr/local/lib/python2.7/dist-packages/pkg_resources/extern and /usr/local/lib/python2.7/dist-packages/pkg_resources//_vendor.
"""

Note the /usr/local paths. While these paths are on Ubuntu python's sys.path by default, installing things from PyPI into these locations with `sudo pip install` can very definitely interfere with system packages like pip. We do not recommend `sudo pip install` but instead `pip install --user` which will put things in your ~/.local directory. That should reduce or eliminate the conflicts.