I am trying to install Django in my windows 7 machine, as a prerequisite, I am installing virtualenvwrapper
:
pip install virtualenvwrapper-win
<
Try using pyenv:
Step 1:
install virtualenv
using pip
pip install virtualenv
Step 2
In a folder, open cmd
and run:
python -m venv virtualenvname
eg: python -m venv india
Step 3: Activate your Virtual environment by:
india\Scripts\activate
Note: S
of sripts
has to be in caps
Now you must see india
before location in your cmd. If yes then your virtual env has been activated.
Something Like this:
(india) D:\dev\python\django\
pip3 -m venv yourprojectname
Are you trying my command. I got the error like you did with this command I got the problem
but, you can apply the following commands
py -m pip install --user virtualenv
py -m virtualenv env
OR
python3 -m pip install --user virtualenv
python3 -m virtualenv env