The Founder’s Guide:
How to Install and Manage Multiple Python Versions on Windows 10
The condensed tutorial with copy and paste code and screenshots
“The expanded version of this article uses concise explanations to help you learn what’s happening 💡”
Check the System Type:
- Press “⊞ Windows”
- Enter “About” into the search bar
- Click “About Your PC”
Open the Executable File:
- Double-click the Python file
- Check the “Add Python ** to PATH” box
- Click “Install Now”
- Repeat
Open PowerShell:
- Press “⊞ Windows”
- Enter “PowerShell” into the search bar
- Click “Run as Administrator”
Open the Python Directory:
- Copy the command from below these instructions
- Paste the command into PowerShell
- Press “Enter”
cd $HOME\appdata\local\programs\python
Copy the Executable File:
- Find the version from below these instructions
- Copy the provided command
- Paste the command into PowerShell
- Press “Enter”
- Repeat
Python 3.5:
copy python35\python.exe python35\python35.exePython 3.6:
copy python36\python.exe python36\python36.exePython 3.7:
copy python37\python.exe python37\python37.exePython 3.8:
copy python38\python.exe python38\python38.exePython 3.9:
copy python39\python.exe python39\python39.exe
Open the Environment Variables:
- Press “⊞ Windows”
- Enter “Environment Variables” into the search bar
- Click “Edit the System Environment Variables”
- Click “Environment Variables…”
Open the PATH:
- Select “Path” in the “User Variables” section
- Click “Edit”
Set the Default Version:
- Find the version from below these instructions
- Select the provided paths in the PATH
- Click “Move Up”
- Click “Move Up” until the provided paths are the top two items
- Click “OK”
- Click “OK”
- Click “OK”
Python 3.5:
c:\users\admin\appdata\local\programs\python\python35\scripts\
c:\users\admin\appdata\local\programs\python\python35\Python 3.6:
c:\users\admin\appdata\local\programs\python\python36\scripts\
c:\users\admin\appdata\local\programs\python\python36\Python 3.7:
c:\users\admin\appdata\local\programs\python\python37\scripts\
c:\users\admin\appdata\local\programs\python\python37\Python 3.8:
c:\users\admin\appdata\local\programs\python\python38\scripts\
c:\users\admin\appdata\local\programs\python\python38\Python 3.9:
c:\users\admin\appdata\local\programs\python\python39\scripts\
c:\users\admin\appdata\local\programs\python\python39\
Check the Default Version:
- Copy the command from below these instructions
- Paste the command into PowerShell
- Press “Enter”
python --version
Use a Specific Python Interpreter:
- Find the version from below these instructions
- Copy the provided command
- Paste the command into PowerShell
- Press “Enter”
Python 3.5:
python35Python 3.6:
python36Python 3.7:
python37Python 3.8:
python38Python 3.9:
python39
Exit the Python Interpreter:
- Copy the command from below these instructions
- Paste the provided command into PowerShell
- Press “Enter”
exit()
Open the Desktop Directory:
- Copy the command from below these instructions
- Paste the provided command into PowerShell
- Press “Enter”
cd $HOME\desktop
Create the Virtual Environment:
- Find the version from below these instructions
- Copy the provided command
- Paste the command into PowerShell
- Press “Enter”
Python 3.5:
python35 -m venv venv35Python 3.6:
python36 -m venv venv36Python 3.7:
python37 -m venv venv37Python 3.8:
python38 -m venv venv38Python 3.9:
python39 -m venv venv39
Activate the Virtual Environment:
- Find the version from below these instructions
- Copy the provided command
- Paste the command into PowerShell
- Press “Enter”
Python 3.5:
venv35\scripts\activatePython 3.6:
venv36\scripts\activatePython 3.7:
venv37\scripts\activatePython 3.8:
venv38\scripts\activatePython 3.9:
venv39\scripts\activate
Check the Executable File:
- Copy the command from below these instructions
- Paste the command into Terminal
- Press “Return”
$(get-command python).path
Deactivate the Virtual Environment:
- Copy the command from below these instructions
- Paste the command into PowerShell
- Press “Enter”
deactivate
“Hopefully, this article helped you get the 👯♀️🏆👯♀️, remember to subscribe to get more content 🏅”
Next Steps:
This article is part of a mini-series that helps readers set up everything they need to start learning about artificial intelligence, machine learning, deep learning, and or data science. It includes articles that contain instructions with copy and paste code and screenshots to help readers get the outcome as soon as possible. It also includes articles that contain instructions with explanations and screenshots to help readers learn about what’s happening.
Linux:
01. Install and Manage Multiple Python Versions
02. Install the NVIDIA CUDA Driver, Toolkit, cuDNN, and TensorRT
03. Install the Jupyter Notebook Server
04. Install Virtual Environments in Jupyter Notebook
05. Install the Python Environment for AI and Machine LearningWSL2:
01. Install Windows Subsystem for Linux 2
02. Install and Manage Multiple Python Versions
03. Install the NVIDIA CUDA Driver, Toolkit, cuDNN, and TensorRT
04. Install the Jupyter Notebook Server
05. Install Virtual Environments in Jupyter Notebook
06. Install the Python Environment for AI and Machine Learning
07. Install Ubuntu Desktop With a Graphical User Interface (Bonus)Windows 10:
01. Install and Manage Multiple Python Versions
02. Install the NVIDIA CUDA Driver, Toolkit, cuDNN, and TensorRT
03. Install the Jupyter Notebook Server
04. Install Virtual Environments in Jupyter Notebook
05. Install the Python Environment for AI and Machine LearningMac:
01. Install and Manage Multiple Python Versions
02. Install the Jupyter Notebook Server
03. Install Virtual Environments in Jupyter Notebook
04. Install the Python Environment for AI and Machine Learning