I am also having this problem. If one looks carefully at the URL ez_setup is fetching, one will notice the duplicated filename. The source of the problem is the following lines in ez_setup.py:
(line 18, notice included file name) DEFAULT_URL = "http://www.turbogears.org/download/eggs/setuptools-0.6a9dev_r41815-py2.4.egg" Along with the following later on in download_setuptools(): def download_setuptools( version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir, delay = 15 ): """Download setuptools from a specified location and return its filename `version` should be a valid setuptools version number that is available as an egg for download under the `download_base` URL (which should end with a '/'). `to_dir` is the directory where the egg will be downloaded. `delay` is the number of seconds to pause before an actual download attempt. """ import urllib2, shutil egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3]) url = download_base + egg_name # ************** Problem here As the docstring tells us, it seems the DEFAULT_URL is at fault, though to be honest I know nothing about setuptools. I merely changed the line to url = download_base to fix the problem temporarily. Keir

