Virtual Environment Setup To create a virtualenv use the following command: python -m venv myenv To activate the virtualenv use the following command: myenv\Scripts\activate