Solve Python Virtualenv: is not recognized as an internal or external command - Windows

preview_player
Показать описание
In this tutorial, I would like to show you the python problem solution that “'virtualenv' is not recognized as an internal or external command, operable program or batch file.”
Here I would like to know you that Python virtual environment manager: either venv or virtualenv. Each module is the preferred way to create and manage isolated virtual environments. venv is included in the Python standard library and requires no additional installation. Whereas virtualenv is included in the Python standard library and some other additional library installation.

0:00 - Problem Explanation
0:59 - Check Python by CMD
1:55 - Install “virtualenv” pip package
2:33 - Reinstall “virtualenv” pip package
3:55 - Solution-1: python -m virtualenv name_of_virtual_environment
5:15 - Solution-2: python -m venv name_of_virtual_environment
6:01 - Solution-3: py -3 -m virtualenv name_of_virtual_environment
6:57 - Solution-4: py -3 -m venv name_of_virtual_environment

Uninstall virtualenv with this command.
E:\code\python\tvenv $ pip uninstall virtualenv

Then just reinstall with this command.
E:\code\python\tvenv $ pip install virtualenv

Solution-1: python -m venv name_of_virtual_environment
E:\code\python\tvenv $ python -m venv myenv
E:\code\python\tvenv $ cd myenv\Scripts\

Or,

E:\code\python\tvenv $ python -m virtualenv myenv
E:\code\python\tvenv $ cd myenv\Scripts

Solution-2: py -3 -m venv name_of_virtual_environment
E:\code\python\tvenv $ py -3 -m venv myenv
E:\code\python\tvenv $ cd myenv\Scripts

Or,

E:\code\python\tvenv $ py -3 -m virtualenv myenv
E:\code\python\tvenv $ cd myenv\Scripts
Рекомендации по теме
Комментарии
Автор

I am so happy to see your video. It helps me after work with this problem for like 4 hours

doffannoelsihotang
Автор

Thanks a lot man. Saved me a hell lot of time to prepare for my interview. Keep coming up with such solutions!

AnmolSingh-zlds
Автор

Thank you so VERY much, I was feeling desperate, and you provided in a step-by-step, easy to understand solution. Bless you

tashuys
Автор

I love you, I don't have enough words to thank you. I was going mad with this error.

mami_libertaria
Автор

thankyou so much for this video please post like these which will help many students who will face such issues .

YathinBn
Автор

Gracias amigo eres la mejor solución fácil y directa. / thanks friend, you are the best solution, easy and directly, really thanks you

juanmajaramilloespinosa
Автор

your video is very very helpfull so many many thank you 😊

chhagankumawat
Автор

thanks a lot man i was stuck in it for a long time

IliyanKashif
Автор

I found your video helpful, Thank you...keep it up

mahjabeenintizar
Автор

activate.bat not working?
any reason?

prasannakumar-tdnx
visit shbcf.ru