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, 2022 in Python by Rahul
• 9,680 points
1,916 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, 2022 by Soham
• 9,710 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,840 points
8,404 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, 2022 in Python by Rahul
• 9,680 points
2,522 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, 2022 in Python by Nandini
• 5,480 points
16,872 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, 2022 in Python by CoolCoder
• 4,420 points
1,112 views
0 votes
1 answer
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
1,966 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, 2022 in Python by Soham
• 9,710 points
29,985 views
0 votes
1 answer

Pytesseract : "TesseractNotFound Error: tesseract is not installed or it's not in your path", how do I fix this?

Based on my recent experience with this ...READ MORE

answered Feb 16, 2022 in Python by Soham
• 9,710 points
37,679 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP