Python Forum
how to get pip to uninstall packages
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to get pip to uninstall packages
#4
(Aug-27-2018, 07:14 AM)Axel_Erfurt Wrote: You did not write which package you want uninstall (pip or apturl or ?)

i have a script made from the list of packages, except pip itself, to uninstall them all.

(Aug-27-2018, 07:38 AM)Gribouillis Wrote: You could perhaps sudo pip3 install --upgrade pip ? Also why do you want to uninstall these packages? You won't save much disk space by removing them.

i am running the script mentioned above from a root shell. i have upgraded pip itself and it replaced pip3 with just pip. i plan to then manually uninstall pip, make a list of what remains in /usr, then install things back (ubuntu packages and pypi packages) making a list of /usr between each install, then test to see what works.

(Aug-27-2018, 07:38 AM)Gribouillis Wrote: You could perhaps sudo pip3 install --upgrade pip ? Also why do you want to uninstall these packages? You won't save much disk space by removing them.

the reason is to have an initial state with no packages installed.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
how to get pip to uninstall packages - by Skaperen - Aug-26-2018, 10:47 PM
RE: how to get pip to uninstall packages - by Skaperen - Aug-27-2018, 10:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't uninstall PyCharm Exsul 1 5,581 Mar-29-2019, 02:22 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020