Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python 3.6 . 'virtualenv' is not recognized as an internal or external command, operable program or batch file

Tags:

python-3.x

I am using advanced Python as well as Pycharm (Up to date as of 2017) when I am using pip/virtual env install.

I got this error:

'virtualenv' is not recognized as an internal or external command, operable program or batch file.

Could advise a solution for this?

Thanks.

like image 850
Vamsi Chowdary Avatar asked Aug 08 '17 12:08

Vamsi Chowdary


People also ask

Why python3 is not recognized in CMD?

The “Python is not recognized as an internal or external command” error is encountered in the command prompt of Windows. The error is caused when Python's executable file is not found in an environment variable as a result of the Python command in the Windows command prompt.

How do I enable virtualenv in Windows Python?

If you're using Windows, use the command "venv\Scripts\activate" (without the word source) to activate the virtual environment. If you're using PowerShell, you might need to capitalize Activate.


1 Answers

You need to install virtualenv using pip (pip installs packages)

Open command prompt and type:

pip install virtualenv. 

Good luck.

like image 84
Laurence Maskell Avatar answered Nov 15 '22 08:11

Laurence Maskell