Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python 2.7.11 pip not installed

I have Python 2.7.11 installed on my machine which to my understanding should come with pip, however when I check the C:\Python27\Tools\Scripts\ directory there is no pip.exe present.

I have tried completely removing and reinstalling Python 2.7.11 without success. Running the installer pip is set to be installed, but after the install pip is nowhere to be found.

I also have Python 3.4 installed which has pip as expected. Any thoughts?

like image 953
user3794548 Avatar asked Aug 25 '16 22:08

user3794548


People also ask

Does Python 2.7 support pip?

If you're using Python 2.7. 9 (or greater), 3.4 (or greater), then PIP is already built into the Python installer. When you download the latest release, you should remember that a particular release isn't supported indefinitely. According to Python's development cycle, support for Python 3.4 ended in March 2019.

Why is pip not installed with Python?

This error usually means there's a problem with the Python installation or the system variable PATH is not set up correctly. Try reinstalling Python and all its components to fix the problem. The easiest way is via the Python executable installer.

How do I fix pip not installing?

A “pip: command not found” error occurs when you fail to properly install the package installer for Python (pip) needed to run Python on your computer. To fix it, you will either need to re-install Python and check the box to add Python to your PATH or install pip on your command line.


1 Answers

I encountered the same problem - pip not installed - with python-2.7.16, Win10, installing for 'all users'. It was resolved when I allowed the MSI installer to target the default location (C:\Python27) rather than changing it to under Program Files (x86). I've no clue why this changed anything.

like image 146
ian57 Avatar answered Sep 22 '22 17:09

ian57