Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to use virtualenv for my project but I am facing following error ‘virtualenv’ is not recognized as an internal or external command, operable program or batch file in python. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
- How 'virtualenv' is not recognized as an internal or external command, operable program or batch file Error Occurs ?
- How To Solve 'virtualenv' is not recognized as an internal or external command, operable program or batch file Error ?
- Solution 1: reinstall virtualenv
- Solution 2: Follow this step
- Summary
How ‘virtualenv’ is not recognized as an internal or external command, operable program or batch file Error Occurs ?
I am trying to use virtualenv
for my project but I am facing following error.
'virtualenv' is not recognized as an internal or external command,
operable program or batch file.
How To Solve ‘virtualenv’ is not recognized as an internal or external command, operable program or batch file Error ?
- How To Solve 'virtualenv' is not recognized as an internal or external command, operable program or batch file Error ?
To Solve 'virtualenv' is not recognized as an internal or external command, operable program or batch file Error You just need to reinstall virtualenv. First of all you need to uninstall virtualenv with this command: pip uninstall virtualenv Then just reinstall with this command: pip install virtualenv Second solution is First of all open project folder where you want to use virtualenv. Now run this command on command prompt python -m virtualenv after running this command: run .\scripts\activate now you can see this type of line on cmd-prompt (django) C:\Users\ssc\Desktop\MyProject> Then main folder name before the source path. now you can install any modules for your project that belongs to that main folder only.
- 'virtualenv' is not recognized as an internal or external command, operable program or batch file
To Solve 'virtualenv' is not recognized as an internal or external command, operable program or batch file Error You just need to reinstall virtualenv. First of all you need to uninstall virtualenv with this command: pip uninstall virtualenv Then just reinstall with this command: pip install virtualenv Second solution is First of all open project folder where you want to use virtualenv. Now run this command on command prompt python -m virtualenv after running this command: run .\scripts\activate now you can see this type of line on cmd-prompt (django) C:\Users\ssc\Desktop\MyProject> Then main folder name before the source path. now you can install any modules for your project that belongs to that main folder only.
Solution 1: reinstall virtualenv
You just need to reinstall virtualenv. First of all you need to uninstall virtualenv with this command.
pip uninstall virtualenv
Then just reinstall with this command.
pip install virtualenv
Solution 2: Follow this step
Just follow this step to resolve this error.
- First of all open project folder where you want to use virtualenv.
- Now run this command on command prompt
python -m virtualenv
- after running this command: run
.\scripts\activate
now you can see this type of line on cmd-prompt(django) C:\Users\ssc\Desktop\MyProject>
- Then main folder name before the source path. now you can install any modules for your project that belongs to that main folder only.
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read