If you use Windows to avoid errors with Windows PowerShell, follow these steps before proceeding.
Check that the pip is up to date and install virtualenv
python -m pip install --upgrade pip
pip install virtualenv
Make sure you are in the project's root folder to use the commands below
Use the command below to create a virtualenv with the name "venv" or another of your choice.
virtualenv venv
Activate the virtualenv you just created with this command
.\venv\Scripts\activate
The name you chose for virtualenv appears before the path, like this.