easy_install for Python 2.6 on Windows XP

Sometimes I am forced to use windows, and for some reason (although I can’t blame anyone not giving a crap) there is no easy_install for Python 2.6 on Windows.  So I followed these instructions from monkut on the Stack Overflow forum:

For installing setuptools for 2.6 download “ez_setup.py” from:

http://svn.python.org/projects/sandbox/branches/setuptools-0.6/#egg=setuptools-dev06

And run it [In the terminal, navigate to the folder where the ez_setup.py file downloaded to and type python ez_setup.py]. setuptools should be installed. This will place easy_install in your python26/Scripts directory, make sure this is in your PATH, and then you should be able to use easy_install.

This worked great. In order to add python26/Scripts to your Windows path:

  1. Right click on the ‘My Computer’ icon on your desktop and select ‘Properties’
  2. Select the ‘Advanced’ tab, and then select ‘Environment Variables’
  3. Under ‘System Variables’  select the variable ‘Path’ and click ‘Edit’
  4. At the end of the line in ‘Variable value:’ add a semicolon [;] and write ‘C:\python26\Scripts’
  5. Select ‘OK’  a couple times, restart terminal, and you should be able to type in ‘easy_install –help’ and receive a big ‘ol mess of help
This entry was posted in Python. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>