# Virtualenv on Windows
1. install python3
- remember to click "also add it to the path"
3. install pip
- `python get-pip.py`
4. install virtualenv
- `pip install virtualenv`
5. open cmd in the project folder
6. create a new virtualenv in your project folder
- `python -m virtualenv venv`
- venv is the nickname of your virtual environment, you can change it to whatever you like, but remember to change also in step 8
7. (vscode) check execution-policy
- `Get-ExecutionPolicy`
- if it is `Restricted` then do step 7
8. (vscode) set policy to `Bypass` by one of the following 2 commands
- `Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted -Force`
- `Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Bypass -Force`
9. activate virtualenv
- `venv/Scripts/activate`
10. execute your python files
- `python [filename].py`
11. deactivate virtualenv
- `deactivate`