开发者

how to install python pip on python 2.7

开发者 https://www.devze.com 2023-03-25 16:24 出处:网络
2 days ago i had a problem with pypm and couldn\'t fix it so i uninstalled activepython, and I wanna install pip which suppose to be an alternative to pypm

2 days ago i had a problem with pypm and couldn't fix it so i uninstalled activepython, and I wanna install pip which suppose to be an alternative to pypm

I've been lookin开发者_JAVA百科g around for 6h and still stuck lol, I have installed setuptools, now what and how to run pip? from the command line? from python command line?...if i want to install django using i used to open pypm and write pypm install django, but i can't use pypm anymore, and the documentation is so confusing and no blogger has made his own easy to follow tutorial!!

i'm so confused and don't know what to do? I downloaded distribute but didn't install it, all i have is a bunch of files inside the folder maybe it's the source! I'm so confused lol, all i know is that setuptools is installed but don't how to run it lol, i'm on xp pro...


2 days ago i had a problem with pypm and couldn't fix it

I've responded to this problem in the ActiveState forum.

so i uninstalled activepython, and I wanna install pip [...] I have installed setuptools, [...] I downloaded distribute

There is no reason why have to uninstall ActivePython. Even if pypm doesn't work, ActivePython already includes pip (among setuptools/distribute/easy_install).

pip [is] supposed to be an alternative to pypm

pip and pypm complement each other; the former allows you to compile the packages yourself (slow and unreliable process especially on Windowds), while the later allows you to install pre-built binary packages. See How is PyPM related to pip and easy_install?

tl;dr - let's fix your pypm problem, and you'll be happy for it.


easy_install pip
pip install django
pip install whatever you like

all in terminal

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号