Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python - Is there any way to get pip without setuptools?

Seems kinda weird that they'd require a package manager to install a package manager. I'm on Windows BTW.

like image 1000
CamelCaseGuy Avatar asked Feb 23 '11 22:02

CamelCaseGuy


3 Answers

Pip does require setuptools. Pip is really just a wrapper around setuptools to provide a better installer than easy_install and some nicer installation behaviors, plus uninstall, requirements files, etc. Even if you somehow got pip installed without setuptools it still won't run without it.

like image 158
Carl Meyer Avatar answered Oct 22 '22 20:10

Carl Meyer


You can use Distribute instead of setuptools: it installs a package called setuptools (it's a fork of the latter). You can install Distribute by downloading and running distribute_setup.py.

Update: As Gringo Suave says, the above is obsolete now - distribute and setuptools have now merged, and the merged project is called setuptools.

like image 23
Vinay Sajip Avatar answered Oct 22 '22 19:10

Vinay Sajip


You can download setuptools package as Windows installer from pypi/setuptools and then install pip or easy_install

like image 1
sputnikus Avatar answered Oct 22 '22 20:10

sputnikus