I have made a mistake. I have following this instructions . Now i want to remove pip and then reinstall pip3.
If you are using Ubuntu, why not just use apt
or apt-get
?
sudo apt-get install python3-pip
- to install pip3
sudo apt-get remove python3-pip
- to remove pip
Assuming you installed pip for python3, not python.
Edit:
You should specify if you installed pip using Linux package manager or using script (get-pip.py)
Solution:
you need to execute the following command to install pip sudo apt-get install python3-pip
and to remove you need to use sudo apt-get --purge autoremove python3-pip
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.