Question

My end goal is to install the requests module, and the way to do that seems to be with pip. I have looked through the pip install documentation here http://www.pip-installer.org/en/latest/installing.html

The documentation has offered me no help. It tells me to "securely download get-pyp.py". I have been searching for a way to do this, and so far, everything I have seen recommends the command

curl --silent --show-error --retry 5 https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python2.7

I have been unable to figure out how to use this command. Curl is not a python command. I installed curl for windows and ran this command in windows command line, which worked, but I was unable to proceed from there. Is this intended to be installed with windows command line, or something else? I am lost.

Was it helpful?

Solution

You can first install easy_install (which is part of set up tools) from the following location

https://pypi.python.org/pypi/setuptools#windows

Right click on the link and save the file ez_setup.py and then run it.

Once that is complete and you have added the scripts to your path variable (C...Python2.7..scripts), you can install pip using

easy_install pip

Check out this video for more help.

http://www.youtube.com/watch?v=MIHYflJwyLk&feature=youtu.be

OTHER TIPS

Download the correct version from here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip

And can find more info in this question: How do I install pip on Windows?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top