[Distutils] Installing stuff using setuptools w/ Python from CVS HEAD?

skip@pobox.com skip at pobox.com
Thu Dec 8 05:16:31 CET 2005


On my Mac Powerbook (OSX 10.3.9) I routinely use Python built from CVS HEAD
as my day-to-day Python interpreter.  Today I tried installing Myghty 0.99a
using that interpreter:

    % python setup.py easy_install .

    ---------------------------------------------------------------------------
    This script requires setuptools version 0.6a5 to run (even to display
    help).  I will attempt to download it for you (from
    http://cheeseshop.python.org/packages/2.5/s/setuptools/), but
    you may need to enable firewall access for this script first.
    I will start the download in 15 seconds.
    ---------------------------------------------------------------------------
    Downloading http://cheeseshop.python.org/packages/2.5/s/setuptools/setuptools-0.6a5-py2.5.egg
    Traceback (most recent call last):
      File "setup.py", line 2, in <module>
        use_setuptools()
      File "/Users/skip/src/Myghty-0.99a/ez_setup.py", line 74, in use_setuptools
        egg = download_setuptools(version, download_base, to_dir, download_delay)
      File "/Users/skip/src/Myghty-0.99a/ez_setup.py", line 122, in download_setuptools
        src = urllib2.urlopen(url)
      File "/Users/skip/local/lib/python2.5/urllib2.py", line 130, in urlopen
        return _opener.open(url, data)
      File "/Users/skip/local/lib/python2.5/urllib2.py", line 367, in open
        response = meth(req, response)
      File "/Users/skip/local/lib/python2.5/urllib2.py", line 475, in http_response
        'http', request, response, code, msg, hdrs)
      File "/Users/skip/local/lib/python2.5/urllib2.py", line 405, in error
        return self._call_chain(*args)
      File "/Users/skip/local/lib/python2.5/urllib2.py", line 340, in _call_chain
        result = func(*args)
      File "/Users/skip/local/lib/python2.5/urllib2.py", line 483, in http_error_default
        raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
    urllib2.HTTPError: HTTP Error 404: Not Found

Even "python setup.py --help" doesn't work.  I can understand that there's
no packages/2.5 directory on cheeseshop yet.  Is there a way to work around
this problem?

Thx,

-- 
Skip Montanaro
Katrina Benefit Concerts: http://www.musi-cal.com/katrina
skip at pobox.com


More information about the Distutils-SIG mailing list