• Register
+1 vote
261 views

Problem :

Getting bellow python and django error 
'virtualenv' is not recognized as an internal or external command, operable program or batch file.

by (6.9k points)  

1 Answer

+1 vote

Solution :

Please follow bellow steps to get rid of the issue
  • The windows PATH variable must have an entry with your python installation and the scripts subfolder as following C:\Program Files (x86)\Python36-32\ & C:\Program Files (x86)\Python36-32\Scripts\
  • While using pip install virtualenv, please make sure that you run cmd as administrator. Or else, there will be an access denied error during installation and virtualenv will not be installed properly.
  • Make sure that virtualenv has been installed correctly. Also check in the python scripts subfolder  there must exist an .exe named virtualenv.exe. If not, uninstall will pip uninstall virtualenv and install again.
by (36.1k points)  
...