[Distutils] PyPI CDN issues

Maurits van Rees m.van.rees at zestsoftware.nl
Wed May 29 14:00:22 CEST 2013


Op 29-05-13 12:18, Maurits van Rees schreef:
> $ curl -O http://downloads.buildout.org/2/bootstrap.py
> $ python2.7 bootstrap.py
> No local packages or download links found for zc.buildout
> error: Could not find suitable distribution for
> Requirement.parse('zc.buildout')
> Traceback (most recent call last):
>    File "bootstrap.py", line 148, in <module>
>      repr(cmd)[1:-1])
> Exception: ('Failed to execute command:\n%s',
> "'/Users/mauritsvanrees/py/bin/python2.7', '-c', 'from
> setuptools.command.easy_install import main; main()', '-mZqNxd',
> '/var/folders/b3/4fkrg4_17ms0pwmwh0xy41_w0000gn/T/tmpSgaQlF',
> 'zc.buildout'")
>
> If you do 'python2.7 bootstrap.py -h' you will see some ways around this
> by pointing to a different download location.

For clarity, this workaround works for me to bootstrap a buildout:

python2.7 bootstrap.py --find-links=http://downloads.buildout.org/


-- 
Maurits van Rees: http://maurits.vanrees.org/
Zest Software: http://zestsoftware.nl



More information about the Distutils-SIG mailing list