i\'m completely new to the python and django.,after installation of python and django. i\'m trying to use virtualenv for django project purpose using virtula env . i install
When I ran the pip install virtualenv
command I got:
Requirement already satisfied: virtualenv in c:\directory\to\appdata\roaming\python\python36\site-packages
so I tried forcing upgrade:
pip install --upgrade --force virtualenv
To install to a specific folder e.g E:\publish
pip install virtualenv
virtualenv .
Try executing virtualenv.exe from its absolute path, like in my case i found it in C:\Users\\AppData\Roaming\Python\Python37\Scripts\virtualenv.exe.
I tried this and it worked, here refer the logs as follows:
Using base prefix 'c:\users\\appdata\local\programs\python\python37-32' New python executable in C:\somedir\dir2\dir3\ML_1\ml\env\Scripts\python.exe Installing setuptools, pip, wheel... done.
Run pip uninstall virtualenv
and then pip install virtualenv
Run CMD as administrator and then enter
pip uninstall virtualenv
then re-run CMD as administrator and run
pip install virtualenv