Seite 1 von 1

ez_setup urlopen

Verfasst: Freitag 20. März 2009, 10:36
von thorob
Hallo,

ich wollte den Orbited framework installieren, und befolgte die Anleitung:
python ez_setup.py setuptools
ich bekomme dann aber folgende Fehlermeldung:
C:\exp\py\orbited>python ez_setup.py setuptools
Downloading http://pypi.python.org/packages/2.5/s/s ... -py2.5.egg
Traceback (most recent call last):
File "ez_setup.py", line 270, in <module>
main(sys.argv[1:])
File "ez_setup.py", line 202, in main
egg = download_setuptools(version, delay=0)
File "ez_setup.py", line 150, in download_setuptools
src = urllib2.urlopen(url)
File "C:\Python25\lib\urllib2.py", line 124, in urlopen
return _opener.open(url, data)
File "C:\Python25\lib\urllib2.py", line 381, in open
response = self._open(req, data)
File "C:\Python25\lib\urllib2.py", line 399, in _open
'_open', req)
File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
result = func(*args)
File "C:\Python25\lib\urllib2.py", line 1107, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python25\lib\urllib2.py", line 1082, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error (10060, 'Operation timed out')>
Manuell kann ich die Datei übrigens ohne Probleme runterladen.
Woran kann das liegen?

Verfasst: Freitag 20. März 2009, 11:00
von Leonidas
Benutze den EXE-Installer von setuptools.

Verfasst: Freitag 20. März 2009, 11:31
von thorob
Hallo,

Danke für deine Hilfe. Habe setuptools nun per installer drauf.
das Problem scheint sich nun eine Ebene weiter verlagert zu haben:
C:\Python25\Scripts>easy_install.exe orbited
Searching for orbited
Reading http://pypi.python.org/simple/orbited/
Download error: (10060, 'Operation timed out') -- Some packages may not be found
!
Reading http://pypi.python.org/simple/orbited/
Download error: (10060, 'Operation timed out') -- Some packages may not be found
!
Couldn't find index page for 'orbited' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error: (10060, 'Operation timed out') -- Some packages may not be found
!
No local packages or download links found for orbited
error: Could not find suitable distribution for Requirement.parse('orbited')

Verfasst: Freitag 20. März 2009, 11:33
von Leonidas
Firewalleinstellungen geprüft? Vielleicht hast du ``python.exe`` den Zugriff aufs Internet verweigert?

Verfasst: Montag 23. März 2009, 11:27
von thorob
Hallo, ja muss wohl sowas sein, bin im Büro hier. Konnte auch den trunk nicht auschecken. Habe es dann manuell gemacht mit setup.py, und die Deps von pypi gezogen

thx