How to: Setuptools

ray ray at aarden.us
Tue May 28 09:05:51 EDT 2013


On May 28, 7:26 am, Mark Lawrence <breamore... at yahoo.co.uk> wrote:
> On 28/05/2013 13:03, rusi wrote:
>
>
>
>
>
> > 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.
>
> Do this, something goes wrong, no output to see.
>
>
>
> > 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 this, something goes wrong, output in front of you.
>
>
>
> > Do that and report back on what happened
>
> --
> If you're using GoogleCrap� please read thishttp://wiki.python.org/moin/GoogleGroupsPython.
>
> Mark Lawrence
>
>

The installation fails.  The report stated it could not find the file.
Per:
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':

Since I am trying to install this for Python 2.7, it fails.

Any suggestions?

Ray






More information about the Python-list mailing list