Python Forum
How to fully uninstall Python from Windows?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to fully uninstall Python from Windows?
#1
Hello,

For some unknown reason (updating Pip?), I've been getting this warning when using Pip:

Quote:c:\>pip3 install mymodule
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. Defaulting to user installation because normal site-packages is not writeable
Uninstalling+reinstalling Python didn't solve it.

What is the procedure to remove Python entirely from Windows, so I can reinstall and be done with it?

Thank you.
Reply
#2
(May-27-2020, 10:15 AM)Winfried Wrote: What is the procedure to remove Python entirely from Windows, so I can reinstall and be done with it?
You just use the Windows Uninstaller.
Then look at Python 3.8 (3.6-3.7) and pip installation under Windows.

For fixing error you have this may work.
python -m pip install --upgrade --force-reinstall pip
But if want a new install follow link,and no need to use pip3.
Test with Python -V and pip -V after install,shall work from anywhere in cmd.
Reply
#3
Quote:You just use the Windows Uninstaller.
Nice, but Uninstaller not working.
Reply
#4
(May-27-2020, 10:55 AM)macfanpl Wrote:
Quote:You just use the Windows Uninstaller.
Nice, but Uninstaller not working.
I guess @Winfried shall answer about this,and not you.
Reply
#5
(May-27-2020, 11:08 AM)snippsat Wrote:
(May-27-2020, 10:55 AM)macfanpl Wrote: Nice, but Uninstaller not working.
I guess @Winfried shall answer about this,and not you.

why not? Because you say so?! ***

User has been warned for this post. Reason: Trolling/disrespectful/foul language/creating a bad atmosphere
Reply
#6
(May-27-2020, 10:45 AM)snippsat Wrote: You just use the Windows Uninstaller.

Yes, I always uninstall apps through their installer, if available.

  1. Removed Python 3.8.2 32-bits
  2. Cleaned sys/user PATH of Python-related items
  3. Deleted c:\Users\fred\AppData\Local\pip\ and c:\Users\fred\AppData\Roaming\Python\
  4. Installed Python 3.8.3 in C:\Python38 per instructions
  5. Checked sys/user PATH (USER: Nothing; SYS: Two items)
  6. pip --version: pip 19.2.3 from c:\python38\lib\site-packages\pip (python 3.8)
  7. Imported modules: pip install gpxpy: OK, but "WARNING: You are using pip version 19.2.3, however version 20.1.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command." → python -m pip install --upgrade pip: "Successfully installed pip-20.1.1"
  8. Ran test script: No error.

Maybe it was because of the files the uninstaller left in c:\Users.

Thank you.
Reply
#7
Quote:6. pip --version: pip 19.2.3 from c:\python38\lib\site-packages\pip (python 3.8)
Okay.
Quote:7. Imported modules: pip install gpxpy: OK, but "WARNING: You are using pip version 19.2.3, however version 20.1.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command." → python -m pip install --upgrade pip: "Successfully installed pip-20.1.1"
This is a normal message,just to remind you to upgrade pip.
I guess you have done this?
python -m pip install --upgrade pip
Test pip -V it should now show version 20.1.1.

So is all okay now dos also python -V work?
Example:
C:\python -V
Python 3.8.2

C:\pip -V
pip 20.1.1 from c:\python38\lib\site-packages\pip (python 3.8)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Impossible to cleanly uninstall Python 3.8.9 Ftaniere 2 1,705 Sep-01-2022, 10:38 AM
Last Post: snippsat
  Uninstall unused COM ports windows 10 adbrooker 1 2,038 Sep-22-2021, 03:16 AM
Last Post: Larz60+
  I can't uninstall chatterbot? Piethon 9 6,783 Jul-20-2019, 09:42 AM
Last Post: Piethon
  Could I override a fully implemented method zatlas1 2 2,415 Jun-06-2019, 02:20 AM
Last Post: zatlas1
  Do I need to uninstall my current Python distribution (3.7) to install Anaconda? Tim 2 23,193 Jul-10-2018, 03:03 PM
Last Post: Tim
  could not fully run paramiko kajatonas 3 5,552 Apr-26-2017, 07:21 PM
Last Post: kajatonas

Forum Jump:

User Panel Messages

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