How to get setuptools and easy_install?


Question

I downloaded the ez_setup code from here: http://peak.telecommunity.com/dist/ez_setup.py and ran it, but i don't think setuptools was properly installed. When i try to open an egg using easy_install i am getting a NameError. Any thoughts?

Here is the specific error:

Traceback (most recent call last):
  File "C:...setup.py", line 223, in <module>
    easy_install eggsetup.py
NameError: name 'easy_install' is not defined
1
43
8/25/2017 2:17:07 PM

For linux versions(ubuntu/linux mint), you can always type this in the command prompt:

sudo apt-get install python-setuptools

this will automatically install eas-_install

95
10/30/2013 4:36:35 AM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon