How to use a Python 3 virtual environment in Windows 10
When you need each Python 3 application that you are building to run in its own isolated environment, you can turn to virtual environments.
Since Python is available on Windows 10, you can also use virtual environments on Windows 10.
Typically, using a Python 3 virtual environment in Windows 10 involves the following steps:
- Installing Python 3 with pip and several features.
- Creating a Python 3 virtual environment with Python 3 venv module.
- Activating the Python 3 virtual environment.
- Installing Python 3 packages that your Python application is using into the virtual environment.
- Running your Python 3 application within the Python 3 virtual environment.
- Deactivating the Python 3 virtual environment.
Follow us