How do I set up Setuptools for Python 2.6 on Windows?

Is there any way to install Setuptools for Python 2.6 in Windows without having an exe installer?

There isn't one built at the moment, and the maintainer of Setuptools has stated that it will probably be a while before he'll get to it.

Does anyone know of a way to install it anyway?

Asked by: Fiona134 | Posted: 06-12-2021

Answer 1

First Option - Online Installation (i.e. remaining connected to the Internet during the entire installation process):

  1. Download setuptools-0.6c9.tar.gz
  2. Use 7-zip to extract it to a folder(directory) outside your Windows Python installation folder
  3. Go the folder (refer step 2) and run from the corresponding dos (command) prompt
  4. Ensure that your PATH includes the appropriate C:\Python2X\Scripts directory

Second Option:

  1. Download setuptools-0.6c9.tar.gz
  2. Download setuptools-0.6c9-py2.6.egg to a folder(directory) outside your Windows Python installation folder
  3. Use 7-zip to extract in the same folder as setuptools-0.6c9-py2.6.egg
  4. Go to the corresponding dos prompt and run python setuptools-0.6c9-py2.6.egg from the command prompt
  5. Ensure that your PATH includes the appropriate C:\Python2X\Scripts directory

Third Option (assuming that you have Visual Studio 2005 or MinGW on your machine)

  1. Download setuptools-0.6c9.tar.gz
  2. Use 7-zip to extract it to a folder(directory) outside your Windows Python installation folder
  3. Go the folder (refer step 2) and run python install from the corresponding dos (command) prompt

Please provide feedback.

Answered by: Freddie736 | Posted: 07-01-2022

Answer 2

You could download and run This will download and install setuptools.


This script no longer works - the version of setuptools the it downloads is not at the URI specified in -navigate to for the latest version - the script also does some md5 checking, I haven't looked into it any further.

Answered by: Carina395 | Posted: 07-01-2022

Answer 3

The Nov. 21 answer didn't work for me. I got it working on my 64 bit Vista machine by following the Method 1 instructions, except for Step 3 I typed: install

So, in summary, I did:

  1. Download setuptools-0.6c9.tar.gz
  2. Use 7-zip to extract it to a folder (directory) outside your Windows Python installation folder
  3. At a DOS (command) prompt, cd to your the newly created setuptools-0.6c9 folder and type " install" (without the quotes).
  4. Ensure that your PATH includes the appropriate C:\Python2X\Scripts directory

Answered by: Carlos824 | Posted: 07-01-2022

Answer 4

I'm able to find the EXE doing google,

you can simply download it from following URL, and double click and install....

Answered by: Edgar741 | Posted: 07-01-2022

Answer 5

I got it working quickly by downloading the source and then running (from the extracted directory):

python.exe bdist_wininst

That builds dist\setuptools-0.6c9.win32.exe, which is exactly the installer you're looking for.

Answered by: Gianna182 | Posted: 07-01-2022

Answer 6

Just installed setuptools as follows:

  1. Downloaded , and extracted to a folder outside of my Python installation.
  2. command prompt, then cd into that folder.
  3. enter python install

That will install from the source into your python's site-packages folder and any other steps needed. This was on Windows XP SP2.

Answered by: Melissa573 | Posted: 07-01-2022

Answer 7

The "first option" (4 steps: download, extract, run, verify PATH) didn't work on my Windows Server 2008 x64 machine with Python 2.6 32 bit installed, nor did it work on my Vista x64 machine with Python 2.6 32 bit installed.

The "second option (5 steps: download, extract, extract, run, verify PATH) worked on both Windows Server 2008 x64 and on Windows Vista x64.

Thanks a bunch for providing the instructions!

Answered by: Catherine695 | Posted: 07-01-2022

Answer 8

OP option 1 did not work for me.

However doing install as mentioned by NathanD did do the trick.

Maybe that should become option 1?


Answered by: Maddie812 | Posted: 07-01-2022

Answer 9

The easiest setuptools installation option is to use the pre-packaged Windows Installer.

for 32-bit Python on Windows, the official setuptools page has been updated and has windows installers for Python 2.6 and 2.7:

for 64-bit Python on Windows, setuptools Windows installers are available here:

Answered by: Walter203 | Posted: 07-01-2022

Answer 10

setuptools has been updated in version 0.6c11.

Answered by: Maria267 | Posted: 07-01-2022

Answer 11

My advice is to wait until Python 2.6.2 to use Python 2.6 on Windows. There are still some bugs that make it less than ideal (this one is particularly nasty). Personally, I wasn't able to get setuptools working totally well on Vista x64 even after installing from source. Under Python 2.5.4, I haven't had any problems though.

Answered by: Julia123 | Posted: 07-01-2022

Answer 12

Second option worked for me.

Two notes:

a. After installing, when you using easy_install in vista, do so as administrator. (Right click on your command line shortcut and click "run as administrator"). I had trouble trying to run easy_install without doing that.

b. He means use ez_setup from setuptools-0.6c9.tar.gz

Answered by: John301 | Posted: 07-01-2022

Answer 13

Python has everything on board to do this.

from I got the URL to the

instead downloading it and fiddling with the file we can do this from the console:

import urllib
url = ''
ezcode = urllib.urlopen(url).read()

Answered by: Chester321 | Posted: 07-01-2022

Answer 14

ActivePython already includes setuptools (Distribute actually), along with pip and virtualenv.

Answered by: Ada200 | Posted: 07-01-2022

Similar questions

setuptools - Accessing python egg's own metadata

I've produced a python egg using setuptools and would like to access it's metadata at runtime. I currently got working this: import pkg_resources dist = pkg_resources.get_distribution("my_project") print(dist.version) but this would probably work incorrectly if I had multiple versions of the same egg installed. And if I have both installed egg and development version, then running this cod...

setuptools - How to get the "python" submit information on freshmeat?

This can submit information about your software on pypi: python register But there is not a similar command for submitting information to freshmeat. How could I write a distutils.Command that would let me do the following? python freshmeat-submit

python - Why does setuptools sometimes delete and then re-install the exact same egg?

I'm trying to install an egg on a computer where an identical egg already exists. Why does it remove the egg and then re-install it? I'm calling easy_install from a script with the options: ['-v', '-m', '-f', 'R:/OPTIONS/Stephen/python_eggs', 'mypkg==1.0_r2009_03_12'] While running the easy_install command this was observed: Searching for mypkg==1.0-r2009-03-12 Best match: ...

python - Excluding a top-level directory from a setuptools package

I'm trying to put a Python project into a tarball using setuptools. The problem is that setuptools doesn't appear to like the way that the source tree was originally setup (not by me, I must add). Everything that I actually want to distribute is in the top-level directory, rather than in a subdirectory like the setuptools docs talk about. The tree has a directory, tests, that I don't want to have in ...

setuptools - Explain Python entry points?

I've read the documentation on egg entry points in Pylons and on the Peak pages, and I still don't really understand. Could someone explain them to me?

python - How can I make setuptools ignore subversion inventory?

When packaging a Python package with a that uses the setuptools: from setuptools import setup ... the source distribution created by: python sdist not only includes, as usual, the files specified in, but it also, gratuitously, includes all of the files that Subversion lists as being version controlled beneath the package direc...

python - What if setuptools isn't installed?

I'm just learning the art of writing a file for my project. I see there's lots of talk about setuptools, which is supposed to be superior to distutils. There's one thing though that I fail to understand, and I didn't see it addressed in any tutorial I've read about this: What if setuptools isn't installed? I understand it's not part of the standard library, so how can you assume the perso...

Python setuptools import error (Using NetBeans)

I tried to find a question that would answer to this question but wasn't succesful, so I made a new question. I'm trying to compile my old Python Tic Tac Toe game in NetBeans, but I get the error message ImportError: No module named setuptools In my actual code I haven't imported a module named setuptools. As much as I understand the compiler generates a file and tries to ...

setuptools - PIP install a Python Package without a file?

I'm trying to figure out how I can install a python package that doesn't have a file with pip. (package in question is Normally I would just checkout the code from the repo and symlink into my site-packages,...

python - Is there a method to find out if a package is to be installed with distutils instead of setuptools?

I can look inside I suppose to see if it's a distutils package. But in the process of familiarizing myself with python package management I have noticed that there seems to be more than one way to do it. So: How can I check an unzipped packages directory or to see how to build it? EDIT: When I say 'build' I mean is it going to use distutils or setuptools, or distribute. I am using build...

Still can't find your answer? Check out these communities...

PySlackers | Full Stack Python | NHS Python | Pythonist Cafe | Hacker Earth | Discord Python