Public bug reported:

When sudo python install --upgrade pip i get error message in file
"/usr/bin/pip", line 9, in <module>
from pip import main

I tryed sudo apt-get install python3-pip but same error.

I found workaround on 
https://askubuntu.com/questions/642533/python-pip-broken-on-ubuntu
sudo apt purge python-pip
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py

Also i would like to mention that i have python3.6 installed but python was 
configured to python2.7 so i run
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
as found on 
https://unix.stackexchange.com/questions/410579/change-the-python3-default-version-in-ubuntu

** Affects: virtualenvwrapper (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1869071

Title:
  Python pip broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualenvwrapper/+bug/1869071/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to