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

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this tutorial I would like to show you the python problem solution is that virtual EnV is not recognized as an internal or external command operable program or batch file here I would like to know you the python virtual environment manager either venv or virtual EnV [Music] each module is preferred way to create and manage isolated virtual environments v e n v is included in the python standard library and record no additional installation whereas virtual EnV is included in the python standard libraries and some other additional installation opencmd to your project folder [Music] write python to check the python version here my python version is 3.10.6 [Music] also write a simple python code to check it works fine now exit it to return this python environment write python type in hyphen version to seek the python version individually if I pin capital V foreign [Music] is 22.2.2 now I would like to install virtual EnV P package so right tip install virtual EnV as I have installed it so it is showing requirements already satisfied now write command virtual EnV and it is showing the same problem virtual ENB is not recognized as an internal or external command operable program or best file solve this problem you just need to reinstall virtual EnV y right peep uninstall virtual EnV to uninstall virtual EnV with this command [Music] it is showing same of the installation path will be removed so would you like to process press y to continue it is showing successfully uninstall virtual EnV 20.16.4 [Music] Now command pip install virtual EnV to just reinstall the virtual EnV it is showing successfully installed virtual EnV 20.16.4 [Music] if you again write virtual EnV and showing the same error as previous then you can create the virtual environment another way Solution on python hyphen M virtual EnV name of virtual environment right python hyphen m virtual EnV my EnV create a my EnV virtual environment directory to your preset folder if you check out the script folder then you can see python standard library and some other additional library has been installed to active this virtual environment go to my EnV slash script write active dot batch to active this virtual environment you can see my EnV virtual environment has been activated right deactive dot batch to deactive and exit from this my EnV virtual environment now go back to the root project directory and delete the my EnV directory to try it another way solution 2. python hyphen m v e n v name of virtual environment it is the same way as previous [Music] if you check out the script folder then you can see only python standard Library has been installed and no other additional library is not being installed [Music] activation deactivation for virtual environment my EnV is same as the previous process solution 3. y hyphen 3 hyphen m irtual EnV name of virtual environment write p y hyphen 3 hyphen m virtual EnV y my EnV to create a my EnV virtual environment directory to your project folder if you check out the script folder then you can see the python standard library and some other additional library has been installed activation deactivation for virtual environment my EnV is same as it previous process solution 4. py hyphen 3 hyphen m v e n b name of virtual environment it is the same way as previous but if you check out the script folder then you can see only python standard library has been installed and no other additional library is not being installed [Music] activation deactivation for virtual environment my EnV can be followed by the previous process I hope it will be helpful for you if you still find any trouble then please comment below have a good day [Music]
Info
Channel: Md. Abdullah al Mamun
Views: 16,421
Rating: undefined out of 5
Keywords: recognized as an internal or external command, python command error, operable program or batch file, internal or external command, python3 command not recognized, pip command error, python installation is not working properly, python, pip, introduction to python, learn python, learn python programming, programming, python basics, python course, python crash course, python for beginners, python from scratch, python programming, python tutorial for beginners, web development
Id: oL6pwOK253I
Channel Id: undefined
Length: 7min 46sec (466 seconds)
Published: Wed Sep 21 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.