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
To install setuptools visit http://pypi.python.org/pypi/setuptools and follow the instructions for your operating system. Also, check out http://peak.telecommunity.com/DevCenter/EasyInstall for more instructions on how to install setup tools.
Follow the below steps to install the Setuptools package on Linux using the setup.py file: Step 1: Download the latest source package of Setuptools for Python3 from the website. Step 3: Go to the setuptools-60.5. 0 folder and enter the following command to install the package.
Setuptools is a package development process library designed to facilitate packaging Python projects by enhancing the Python standard library distutils (distribution utilities). It includes: Python package and module definitions.
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 easy_install
.
For python3 on Ubuntu
sudo apt-get install python3-setuptools
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With