Looks like you're having a network problem - urllib2 can't connect to
the server it needs to download stuff from.
What happens when you do this:
C:\>\Python24\python.exe
>>> from urllib2 import urlopen
>>> urlopen('http://www.google.com')
does it work? If not, check your firewall & network settings.
Another thing to do is look up ez_setup.py line 217 and try doing the
above with url it's trying to reach. Maybe their server is temporarily
down.
Good luck,
David
jrpfinch wrote:
> I have tried following the instructions on the TurboGears website.
> Python installed fine, but then ez_setup.py appeared to fail (see
> below). If anyone could give me any advice, I would be very grateful
>
> jon
>
>
> C:\Documents and Settings\jrpf\Desktop>ez_setup.py
> Downloading
> http://cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0.
> 6c3-py2.4.egg
> Traceback (most recent call last):
> File "C:\Documents and Settings\jrpf\Desktop\ez_setup.py", line 217,
> in ?
> main(sys.argv[1:])
> File "C:\Documents and Settings\jrpf\Desktop\ez_setup.py", line 149,
> in main
> egg = download_setuptools(version, delay=0)
> File "C:\Documents and Settings\jrpf\Desktop\ez_setup.py", line 131,
> in downlo
> ad_setuptools
> src = urllib2.urlopen(url)
> File "C:\Python24\lib\urllib2.py", line 130, in urlopen
> return _opener.open(url, data)
> File "C:\Python24\lib\urllib2.py", line 358, in open
> response = self._open(req, data)
> File "C:\Python24\lib\urllib2.py", line 376, in _open
> '_open', req)
> File "C:\Python24\lib\urllib2.py", line 337, in _call_chain
> result = func(*args)
> File "C:\Python24\lib\urllib2.py", line 1021, in http_open
> return self.do_open(httplib.HTTPConnection, req)
> File "C:\Python24\lib\urllib2.py", line 996, in do_open
> raise URLError(err)
> urllib2.URLError: <urlopen error (10065, 'No route to host')>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---