Whatever Whenever Tech insights, coding tips, and AI stuff
Home New Post
Profile
Login Register

Select a category for your post

Click tags to select/deselect

Markdown supported: # Heading, **bold**, *italic*, `code`, - list items, etc.
Tip: Paste images directly from clipboard or drag-and-drop to upload!

How to Install and Manage Multiple Python Versions on Windows 10, or 11.
Assuming you have installed both Python 3.10 and Python 3.11 (with default settings) on this computer.

1. Open Powershell
2. cd $HOME\appdata\local\programs\python
3. copy python311\python.exe python311\python311.exe
4. copy python310\python.exe python310\python310.exe
5. Environment variables setup

Windows (logo) key, type "env" in the search bar -> Edit the system environment (Control panel) -> Environment Variables -> User variables for your_user_name -> Path
Add below paths to the Path:

  • C:\Users\12506\AppData\Local\Programs\Python\Python311\Scripts\
  • C:\Users\12506\AppData\Local\Programs\Python\Python311\
  • C:\Users\12506\AppData\Local\Programs\Python\Python310\Scripts\
  • C:\Users\12506\AppData\Local\Programs\Python\Python310\

Move up which ever version to the top and that version of Python will be currently selected as the default version

6. Run python --version, python310 --version, and python311 --version & test each
7. Run python -m pip list, python310 -m pip install, and python311 -m pip install to avoid the mixing up of pips

source: https://levelup.gitconnected.com/how-to-install-and-manage-multiple-python-versions-on-windows-10-c90098d7ba5a

Cancel

Add New Category

Add New Tag

Home Search | RSS Sitemap

© 2026 whatever.asia