You need to have the utility virtualenv
installed on our system (see my other gist).
Suppose you want to name your virtual environment .venv
. Run
virtualenv --python '<absolute-path-to-Python-executable>/python.exe' .venv
In the directory where your .venv
resides, run
.\.venv\Scripts\Activate.ps1
In the directory where your .venv
resides, run
deactivate