# Create python virtual enviroments on Windows

Posted on 2017-06-11 in Trucs et astuces

1. Before creating the venv you will need to open a PowerShell terminal as root and run the commands below to allow the script that activates the virtual env to run:

cd ..
Set-ExecutionPolicy Unrestricted

2. Create the venv. Run in a terminal as a normal user: python3 -m venv .venv If the creation fails due to python3 not found, check that: