Error found when installing pip on Windows
Question:
I am trying to install pip for python in windows 7. I installed it and I added “C:PythonXXScripts” to the windows path variables. But, when I typed “pip” in the command prompt it shows that pip is not recognized as an internal or external command.
Is there any way to figure out this problem?
Answers:
I know it’s hustle to install pip in Windows. With latest Python you don’t need to install pip, it’s now prebuilt and you can access it by python -m pip
if you have already installed python of whatever version you can skip ahead to step 4 or step 6.
- download and install python default installation is c:python27
- Create a new System Variable named Variable name: PYTHON_HOME and Variable
value: c:Python27 (or whatever your installation path was)
- Find the system variable called Path and click Edit
- Add the following text to the end of the Variable value:;%PYTHON_HOME%;%PYTHON_HOME%Scripts
- Verify a successful environment variable update by opening a new command prompt window (important!) and typing python from any location
- Download get-pip.py to a folder on your computer. Open a command prompt window and navigate to the folder containing get-pip.py. Then run python get-pip.py. This will install pip.
-
verify your pip installation: open command prompt and type ‘pip freeze’
without quotation and if it shows like
antiorm==1.1.1
enum34==1.0
requests==2.3.0
virtualenv==1.11.6
then you are successful.
if above steps failed than update environment variable.
go to Control PanelSystem and SecuritySystem
select advance system setting then select environment variable and add c:python27scripts to path variable then it will be fine.
i have tested it successfully on my pc.
install pip using run file.
Hope it helps you. see here
install pip 100% working
I am trying to install pip for python in windows 7. I installed it and I added “C:PythonXXScripts” to the windows path variables. But, when I typed “pip” in the command prompt it shows that pip is not recognized as an internal or external command.
Is there any way to figure out this problem?
I know it’s hustle to install pip in Windows. With latest Python you don’t need to install pip, it’s now prebuilt and you can access it by python -m pip
if you have already installed python of whatever version you can skip ahead to step 4 or step 6.
- download and install python default installation is c:python27
- Create a new System Variable named Variable name: PYTHON_HOME and Variable
value: c:Python27 (or whatever your installation path was) - Find the system variable called Path and click Edit
- Add the following text to the end of the Variable value:;%PYTHON_HOME%;%PYTHON_HOME%Scripts
- Verify a successful environment variable update by opening a new command prompt window (important!) and typing python from any location
- Download get-pip.py to a folder on your computer. Open a command prompt window and navigate to the folder containing get-pip.py. Then run python get-pip.py. This will install pip.
-
verify your pip installation: open command prompt and type ‘pip freeze’
without quotation and if it shows likeantiorm==1.1.1
enum34==1.0
requests==2.3.0
virtualenv==1.11.6
then you are successful.
if above steps failed than update environment variable.
go to Control PanelSystem and SecuritySystem
select advance system setting then select environment variable and add c:python27scripts to path variable then it will be fine.
i have tested it successfully on my pc.
install pip using run file.
Hope it helps you. see here
install pip 100% working