Reputation: 1477
When I try to create a new "virtualenv prod" it runs the below output in the cmd, and it runs for minutes with no indication that it will finish or stop. Needless to say no virtualenv gets created. I'm using Python 3.7.4 on Windows 10, virtualenv 16.6.1. This was working at some stage not sure why it stopped working?
Output in cmd: Running virtualenv with interpreter c:\python37\python.exe This line gets output continuously......
Upvotes: 3
Views: 13660
Reputation: 103
If you're having trouble on Windows, try this:
python -m venv venv
.\venv\Scripts\activate
Upvotes: 0
Reputation: 4328
Try to use one of the two approaches bellow when creating the virtual environment :
python3 -m venv ENV_NAME
or
python3 C:\Python36\Tools\scripts\pyvenv.py ENV_NAME
More information: https://docs.python.org/3/library/venv.html
Upvotes: 5