pip is not recognized as an internal or external command operable program or batch file

0 votes

I'm facing a weird error when trying to install Django on my computer.

This is the sequence of code which I used in my command line:
 

C:\Python34> python get-pip.py Requirement already up-to-date: pip in c:\python34\lib\site-packages Cleaning up... 
C:\Python34> pip install Django 'pip' is not recognized as an internal or external command, operable program or batch file. 
C:\Python34> lib\site-packages\pip install Django 'lib\site-packages\pip' is not recognized as an internal or external command, operable program or batch file.


What is the reason that is causing this?

This is what I got when I typed in echo %PATH%:

C:\Python34>echo %PATH% C:\Program Files\ImageMagick-6.8.8-Q16;C:\Program Files (x86)\Intel\iCLS Client\ ;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\S ystem32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ Windows Live\Shared;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Progr am Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Mana gement Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine C omponents\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components \DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\P rogram Files (x86)\nodejs\;C:\Program Files (x86)\Heroku\bin;C:\Program Files (x 86)\git\cmd;C:\RailsInstaller\Ruby2.0.0\bin;C:\RailsInstaller\Git\cmd;C:\RailsIn staller\Ruby1.9.3\bin;C:\Users\Javi\AppData\Roaming\npm
Feb 8 in Python by Rahul
• 8,980 points
55 views

1 answer to this question.

0 votes

You will have to add the path of your pip installation to your PATH system variable. However, by default, the pip is installed to C:\Python34\Scripts\pip and hence the path "C:\Python34\Scripts" will have to be added to your given PATH variable.

In order to verify if this is already in your PATH variable, type echo %PATH% at the CMD prompt and to confirm that the path of your pip installation has been added to your PATH variable, you can use the Control Panel or the setx command.

For example:

setx PATH "%PATH%;C:\Python34\Scripts"

answered Feb 8 by Soham
• 8,730 points

Related Questions In Python

0 votes
1 answer

Error:'pip' is not recognized as an internal or external command

Hello @kartik, Try this: Type 'start %appdata%' in cmd. After ...READ MORE

answered Aug 3, 2020 in Python by Niroj
• 82,680 points
7,121 views
0 votes
3 answers

'python' is not recognized as an internal or external command

Try "py" instead of "python" from command line: C:\Users\Cpsa>py Python 3.4.1 (v3.4.1:c0e311e010fc, May ...READ MORE

answered Feb 8 in Python by Rahul
• 8,980 points
543 views
0 votes
1 answer

'python' is not recognized as an internal or external command

There are multiple ways you can use: 1)Use ...READ MORE

answered Feb 16 in Python by Nandini
• 5,480 points
23 views
0 votes
1 answer

'python' is not recognized as an internal or external command

Use "py" instead of "python" from command ...READ MORE

answered Feb 16 in Python by CoolCoder
• 4,360 points
18 views
0 votes
1 answer

how to download and install Django rest framework?

To install Django, you can simply open ...READ MORE

answered Apr 24, 2018 in Python by Christine
• 15,790 points
925 views
0 votes
1 answer
0 votes
1 answer

'Conda' is not recognized as internal or external command

I was coming across the same issue ...READ MORE

answered Feb 11 in Python by Soham
• 8,730 points
547 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP