How to: Setuptools

rusi rustompmody at gmail.com
Tue May 28 08:03:53 EDT 2013


On May 28, 6:32 am, ray <r... at aarden.us> wrote:
> I would like to use easy_install, but can't figure out how to install it.
>
> I have 64-bit Python 2.7.5 on Windows 7.
>
> Following the instructions onhttps://pypi.python.org/pypi/setuptools, it says:
> Download ez_setup.py and run it; it will download the appropriate .egg file and install it for you. (Currently, the provided .exe installer does not support 64-bit versions of Python for Windows, due to a distutils installer compatibility issue
>
> Being new to Python, I don't know what it means to "run it".  I am not sure what I am looking at when I open it as the first line is "#!python".
>
> Looking down into the content of ez_setup.py, I find:
> 'setuptools-0.6c10-py2.6.egg':
> but there is no entry
> 'setuptools-0.6c10-py2.7.egg':
>
> Searching for it, I found a version at:https://pypi.python.org/packages/2.7/s/setuptools/
>
> This appeared to be a linux version, the first line is:
> #!/bin/sh
> and the content seems to be encoded.
>
> There is an exe athttps://pypi.python.org/pypi/setuptools, but the
> instructions on the page state the .exe won't work for 64-bit installs.
>
> Ray

Since there seems to be no response to this, let me try (even though I
am not on windows)
Just point your browser at the link
http://peak.telecommunity.com/dist/ez_setup.py
And save the file ez_setup.py

The more windows-y way of running this is to right-click this and edit
the run-with in some way that I dont have at my finger-tips.

The more old-fashioned way is to start a dos-box (run cmd.exe)
navigate to the directory where the ez_setup.py is saved
from there run the command:
python ez_setup.py

Do that and report back on what happened




More information about the Python-list mailing list