python virtual environments
requirements
method
- install
python
and add it to your PATH
- create a virtual environment
python -m venv venv
- activate the virtual environment
linux / osx
source venv/bin/activate
windows
venv\Scripts\Activate.ps1
- in the activated state, you can install modules
pip install <module>
and run scripts
python script.py
- once finished, deactivate the virtual environment
deactivate