VE Creation
VE Activation
Basic Steps
This is bascially all you need to know
- Create parent folder using CMD or File Explorer
- Create actual virtual envrionment using
py -m venv path/to/venv/
- Activate virtual environment using
your_venv/Scripts/Activate.bat
- Deactivate virtual environment using
deactivate
, simple as that
Things to note
- You should only run the python scripts from within the virtual environment
- The packages will appear to be installed if you run it from VS Code, but it will not run from the venv — you will need to make sure that the packages are installed in teh venv using
py -m pip list