How to get PIP for python [duplicate]

2019-04-10 13:07发布

This question already has an answer here:

I am trying to install pip.py. Whenever I search for the installer, it opens to a new tab with codes in it, with nothing that I can download. What am I meant to do, am I meant to copy-paste the code into the Python interpreter? How can I get it to work for the Windows 7 32bit version?

标签: python pip
3条回答
相关推荐>>
2楼-- · 2019-04-10 13:26

You can use this guide to install the latest version of Python, PIP and virtualenv for any platform. http://docs.python-guide.org/en/latest/

查看更多
看我几分像从前
3楼-- · 2019-04-10 13:32

You can use these binaries to install pip or any other packages of your interest. http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip

查看更多
ら.Afraid
4楼-- · 2019-04-10 13:39

Installing with source

Go to this link: https://bootstrap.pypa.io/get-pip.py

Copy the contents of this file onto another new file and save it as get-pip.py (when it asks you what you want to do with the file, click Save, then copy the contents of the file onto another new file), and open your Windows Command Prompt as an admin and go to the file path and then enter (you need Internet for this) the following command,

python get-pip.py install

For help on installing with different operating systems

Refer to this link: http://www.pip-installer.org/en/latest/installing.html

Installing with an exe file

Click here to get the file, and install it and you need to set a path to the pip directory, you will find a source folder in the C drive and you can find the pip file, then set the folder path.

查看更多
登录 后发表回答