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
#1
i am getting errors like these:
Output:
Cannot uninstall 'apturl'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. Cannot uninstall 'bottle'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. Cannot uninstall 'Brlapi'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. Cannot uninstall 'command-not-found'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. Cannot uninstall 'docutils'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. Cannot uninstall 'fail2ban'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. Cannot uninstall 'louis'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. Cannot uninstall 'onboard'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
there are many more when i feed its list of packages to pip uninstall commands.

and when i install Ubuntu package python3-pip then do pip3 install --upgrade pip it acts like this:
Output:
Collecting pip Using cached https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 8.1.1 Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr Successfully installed pip-18.0
apparently it leaves both versions installed.

does anyone have the direct path to the tarball (not a page with a link as that seems to not show up, right)?
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

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