When I used the command virtualenv venv to create the Python virtual environment, the following error occurred:
virtualenv venv
D:\\Flask>virtualenv venv Using b
use python -m venv path/to/your/venv to create a virtual environment and then activate it with path/to/your/venv/Scripts/activate.bat (deactivate for quitting the venv)
python -m venv path/to/your/venv
path/to/your/venv/Scripts/activate.bat
deactivate
example:
python -m venv test test\Scripts\activate.bat (test) deactivate