Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46241 > unrolled thread

How to: Setuptools

Started byray <ray@aarden.us>
First post2013-05-27 18:32 -0700
Last post2013-05-28 19:11 -0700
Articles 15 — 5 participants

Back to article view | Back to comp.lang.python


Contents

  How to:  Setuptools ray <ray@aarden.us> - 2013-05-27 18:32 -0700
    RE: How to:  Setuptools Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 04:45 +0300
      Re: How to: Setuptools rusi <rustompmody@gmail.com> - 2013-05-27 19:57 -0700
        RE: How to: Setuptools Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 06:06 +0300
          Re: How to: Setuptools rusi <rustompmody@gmail.com> - 2013-05-27 20:54 -0700
            RE: How to: Setuptools Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 07:09 +0300
              Re: How to: Setuptools rusi <rustompmody@gmail.com> - 2013-05-27 21:26 -0700
    Re: How to: Setuptools rusi <rustompmody@gmail.com> - 2013-05-28 05:03 -0700
      Re: How to: Setuptools Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-28 13:26 +0100
        Re: How to: Setuptools ray <ray@aarden.us> - 2013-05-28 06:05 -0700
          Re: How to: Setuptools rusi <rustompmody@gmail.com> - 2013-05-28 06:35 -0700
          Re: How to: Setuptools Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-28 14:40 +0100
            Re: How to: Setuptools rusi <rustompmody@gmail.com> - 2013-05-28 06:54 -0700
    Re: How to: Setuptools Michael Herman <hermanmu@gmail.com> - 2013-05-28 13:59 -0700
    Re: How to:  Setuptools ray <ray@aarden.us> - 2013-05-28 19:11 -0700

#46241 — How to: Setuptools

Fromray <ray@aarden.us>
Date2013-05-27 18:32 -0700
SubjectHow to: Setuptools
Message-ID<bf45fdb5-e980-4828-b664-86093c030cc9@googlegroups.com>
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 on https://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 at https://pypi.python.org/pypi/setuptools, but the 
instructions on the page state the .exe won't work for 64-bit installs.

Ray

[toc] | [next] | [standalone]


#46244

FromCarlos Nepomuceno <carlosnepomuceno@outlook.com>
Date2013-05-28 04:45 +0300
Message-ID<mailman.2275.1369705511.3114.python-list@python.org>
In reply to#46241
curl -O http://peak.telecommunity.com/dist/ez_setup.py
python ez_setup.py

----------------------------------------
> Date: Mon, 27 May 2013 18:32:43 -0700
> Subject: How to: Setuptools
> From: ray@aarden.us
> To: python-list@python.org
>
> 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 on https://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 at https://pypi.python.org/pypi/setuptools, but the
> instructions on the page state the .exe won't work for 64-bit installs.
>
> Ray
>
> --
> http://mail.python.org/mailman/listinfo/python-list 		 	   		  

[toc] | [prev] | [next] | [standalone]


#46247 — Re: How to: Setuptools

Fromrusi <rustompmody@gmail.com>
Date2013-05-27 19:57 -0700
SubjectRe: How to: Setuptools
Message-ID<88d4a817-f991-4599-927f-5b1f9804aa49@ve4g2000pbb.googlegroups.com>
In reply to#46244
On May 28, 6:45 am, Carlos Nepomuceno <carlosnepomuc...@outlook.com>
wrote:
> curl -Ohttp://peak.telecommunity.com/dist/ez_setup.py
> python ez_setup.py

Curl comes built into windows??
Does not seem so...
http://serverfault.com/questions/483754/is-there-a-built-in-command-line-tool-under-windows-like-wget-curl

Also given that the question clearly says 'I dont know what it means
to "run it" '
I think your two lines could be too cryptic :-)

To the OP: Sorry I am not being very helpful to you -- I am not on
windows now and dont know these commands offhand

I am sure someone else will chime in..

[toc] | [prev] | [next] | [standalone]


#46249 — RE: How to: Setuptools

FromCarlos Nepomuceno <carlosnepomuceno@outlook.com>
Date2013-05-28 06:06 +0300
SubjectRE: How to: Setuptools
Message-ID<mailman.2277.1369710387.3114.python-list@python.org>
In reply to#46247
----------------------------------------
> Date: Mon, 27 May 2013 19:57:47 -0700
> Subject: Re: How to: Setuptools
> From: rustompmody@gmail.com
> To: python-list@python.org
>
> On May 28, 6:45 am, Carlos Nepomuceno <carlosnepomuc...@outlook.com>
> wrote:
>> curl -Ohttp://peak.telecommunity.com/dist/ez_setup.py
>> python ez_setup.py
>
> Curl comes built into windows??

No, but you can get it from http://curl.haxx.se/download.html

> Does not seem so...
> http://serverfault.com/questions/483754/is-there-a-built-in-command-line-tool-under-windows-like-wget-curl
>
> Also given that the question clearly says 'I dont know what it means
> to "run it" '
> I think your two lines could be too cryptic :-)

Perhaps, my grandma used to think English is very cryptic. ;)

> To the OP: Sorry I am not being very helpful to you -- I am not on
> windows now and dont know these commands offhand
>
> I am sure someone else will chime in..
> --
> http://mail.python.org/mailman/listinfo/python-list 		 	   		  

[toc] | [prev] | [next] | [standalone]


#46250 — Re: How to: Setuptools

Fromrusi <rustompmody@gmail.com>
Date2013-05-27 20:54 -0700
SubjectRe: How to: Setuptools
Message-ID<452a2e20-6c64-4761-9da0-41ccf9a4fa6c@z10g2000pbn.googlegroups.com>
In reply to#46249
On May 28, 8:06 am, Carlos Nepomuceno <carlosnepomuc...@outlook.com>
wrote:
> ----------------------------------------
>
> > Date: Mon, 27 May 2013 19:57:47 -0700
> > Subject: Re: How to: Setuptools
> > From: rustompm...@gmail.com
> > To: python-l...@python.org
>
> > On May 28, 6:45 am, Carlos Nepomuceno <carlosnepomuc...@outlook.com>
> > wrote:
> >> curl -Ohttp://peak.telecommunity.com/dist/ez_setup.py
> >> python ez_setup.py
>
> > Curl comes built into windows??
>
> No, but you can get it fromhttp://curl.haxx.se/download.html

Oooff! Talk of using sledgehammers to crack nuts...

All that is needed is to visit http://peak.telecommunity.com/dist/ez_setup.py
with the browser and to save the file!!

[toc] | [prev] | [next] | [standalone]


#46251 — RE: How to: Setuptools

FromCarlos Nepomuceno <carlosnepomuceno@outlook.com>
Date2013-05-28 07:09 +0300
SubjectRE: How to: Setuptools
Message-ID<mailman.2279.1369714182.3114.python-list@python.org>
In reply to#46250
----------------------------------------
> Date: Mon, 27 May 2013 20:54:53 -0700
> Subject: Re: How to: Setuptools
> From: rustompmody@gmail.com
[...]
>
> Oooff! Talk of using sledgehammers to crack nuts...
>
> All that is needed is to visit http://peak.telecommunity.com/dist/ez_setup.py
> with the browser and to save the file!!

Can you show me how to do that from a batch file? Please... 		 	   		  

[toc] | [prev] | [next] | [standalone]


#46254 — Re: How to: Setuptools

Fromrusi <rustompmody@gmail.com>
Date2013-05-27 21:26 -0700
SubjectRe: How to: Setuptools
Message-ID<5d03e793-4df0-47b8-ac7f-85ab57fc752d@z10g2000pbn.googlegroups.com>
In reply to#46251
On May 28, 9:09 am, Carlos Nepomuceno <carlosnepomuc...@outlook.com>
wrote:
> ----------------------------------------
>
> > Date: Mon, 27 May 2013 20:54:53 -0700
> > Subject: Re: How to: Setuptools
> > From: rustompm...@gmail.com
> [...]
>
> > Oooff! Talk of using sledgehammers to crack nuts...
>
> > All that is needed is to visithttp://peak.telecommunity.com/dist/ez_setup.py
> > with the browser and to save the file!!
>
> Can you show me how to do that from a batch file? Please...

What in the OP's question translates into a need for a batch-file?

And you are proposing that he downloads curl just to write that batch-
file?!?!

How come that proposal is not subject to the same requirement, viz. I
dont see in your recipe any:
"Here-is-a-batchfile-to-download-curl-without-curl?"

[toc] | [prev] | [next] | [standalone]


#46277 — Re: How to: Setuptools

Fromrusi <rustompmody@gmail.com>
Date2013-05-28 05:03 -0700
SubjectRe: How to: Setuptools
Message-ID<22b6ddfe-100f-4ff5-853b-9ec4e2232e7a@h9g2000pbr.googlegroups.com>
In reply to#46241
On May 28, 6:32 am, ray <r...@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

[toc] | [prev] | [next] | [standalone]


#46279 — Re: How to: Setuptools

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-05-28 13:26 +0100
SubjectRe: How to: Setuptools
Message-ID<mailman.2294.1369743978.3114.python-list@python.org>
In reply to#46277
On 28/05/2013 13:03, rusi wrote:
> On May 28, 6:32 am, ray <r...@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 this 
http://wiki.python.org/moin/GoogleGroupsPython.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#46280 — Re: How to: Setuptools

Fromray <ray@aarden.us>
Date2013-05-28 06:05 -0700
SubjectRe: How to: Setuptools
Message-ID<1495a8dd-bbf5-4dda-8733-89d6db0240f1@g8g2000yqa.googlegroups.com>
In reply to#46279
On May 28, 7:26 am, Mark Lawrence <breamore...@yahoo.co.uk> wrote:
> On 28/05/2013 13:03, rusi wrote:
>
>
>
>
>
> > On May 28, 6:32 am, ray <r...@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


[toc] | [prev] | [next] | [standalone]


#46283 — Re: How to: Setuptools

Fromrusi <rustompmody@gmail.com>
Date2013-05-28 06:35 -0700
SubjectRe: How to: Setuptools
Message-ID<c2915aee-a930-4857-9891-697c89889442@be10g2000pbd.googlegroups.com>
In reply to#46280
On May 28, 6:05 pm, ray <r...@aarden.us> wrote:
> On May 28, 7:26 am, Mark Lawrence <breamore...@yahoo.co.uk> wrote:
>
>
>
>
>
>
>
>
>
> > On 28/05/2013 13:03, rusi wrote:
>
> > > On May 28, 6:32 am, ray <r...@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

Mysterious...

If you are in hack mode you could try patching that file with the 2.7
egg name and md5
Both of them here https://pypi.python.org/pypi/setuptools

ie after this line
'setuptools-0.6c11-py2.6.egg': 'bfa92100bd772d5a213eedd356d64086',

add this line
'setuptools-0.6c11-py2.7.egg': 'fe1f997bc722265116870bc7919059ea',

However it maybe a better idea to ask on the distutils mailing list
http://mail.python.org/pipermail/distutils-sig/

[And let us know how/what happened!]

[toc] | [prev] | [next] | [standalone]


#46284 — Re: How to: Setuptools

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-05-28 14:40 +0100
SubjectRe: How to: Setuptools
Message-ID<mailman.2296.1369748403.3114.python-list@python.org>
In reply to#46280
On 28/05/2013 14:05, ray wrote:
>
> 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
>

Try reading this 
http://stackoverflow.com/questions/3652625/installing-setuptools-on-64-bit-windows 
which refers to this http://www.lfd.uci.edu/~gohlke/pythonlibs/ where 
you can get pip which is an easy_install replacement.  You pays your 
money, you takes your choice :)

-- 
If you're using GoogleCrap™ please read this 
http://wiki.python.org/moin/GoogleGroupsPython.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#46289 — Re: How to: Setuptools

Fromrusi <rustompmody@gmail.com>
Date2013-05-28 06:54 -0700
SubjectRe: How to: Setuptools
Message-ID<739c5344-65d8-4587-a002-83cb66fd797e@pd6g2000pbc.googlegroups.com>
In reply to#46284
On May 28, 6:40 pm, Mark Lawrence <breamore...@yahoo.co.uk> wrote:
> On 28/05/2013 14:05, ray wrote:
>
>
>
> > 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
>
> Try reading thishttp://stackoverflow.com/questions/3652625/installing-setuptools-on-6...
> which refers to thishttp://www.lfd.uci.edu/~gohlke/pythonlibs/where
> you can get pip which is an easy_install replacement.  You pays your
> money, you takes your choice :)

Hmm...
Something new (for me)
Last I knew, pip was the supposed replacement for setuptools and you
had to install setuptools to install pip!!!
Maybe this has changed?? Or its different on windows??

[toc] | [prev] | [next] | [standalone]


#46342 — Re: How to: Setuptools

FromMichael Herman <hermanmu@gmail.com>
Date2013-05-28 13:59 -0700
SubjectRe: How to: Setuptools
Message-ID<mailman.2327.1369774818.3114.python-list@python.org>
In reply to#46241
I have a great video on how to setup Easy_Install via setuptools as
well as pip - http://www.youtube.com/watch?v=MIHYflJwyLk

On Mon, May 27, 2013 at 6:32 PM, ray <ray@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 on https://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 at https://pypi.python.org/pypi/setuptools, but the
> instructions on the page state the .exe won't work for 64-bit installs.
>
> Ray
>
> --
> http://mail.python.org/mailman/listinfo/python-list

[toc] | [prev] | [next] | [standalone]


#46355

Fromray <ray@aarden.us>
Date2013-05-28 19:11 -0700
Message-ID<9e1a70de-85d8-4f73-b0ad-8f0babcdca84@googlegroups.com>
In reply to#46241
On Monday, May 27, 2013 8:32:43 PM UTC-5, ray 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 on https://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 at https://pypi.python.org/pypi/setuptools, but the 
> 
> instructions on the page state the .exe won't work for 64-bit installs.
> 
> 
> 
> Ray


I looked through distutils-sig/ .  There were many finding the problem.  There is a solution using Setuptools 2.7 bdist_wininst - http://groups.google.com/group/distutils-sig/browse_thread/thread/6107d5c9044c3f37/4d1a53f9e8fb7d20?hl=en&lnk=gst&q=Setuptools+2.7+bdist_wininst> 

It wasn't clear on where to run things from nor did it address the missing 2.7 reference.

The reference - http://www.lfd.uci.edu/~gohlke/pythonlibs/ 
has a 64 bit installer -  distribute-0.6.43.win-amd64-py2.7.exe.  It ran without error reports.

This all was to install netwokx.  That installed without error.

Ray

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web