How to: Setuptools

ray ray at aarden.us
Tue May 28 22:11:10 EDT 2013


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



More information about the Python-list mailing list