簡體   English   中英

安裝python-sybase模塊的麻煩

[英]Troubles in installing python-sybase module

我試圖按照安裝指南僅安裝此模塊:http:// python-sybase.sourceforge.net/sybase/node5.html我收到了一個我不理解的錯誤,我想知道這是否不是防火牆問題但我不知道該如何處理:

C:\Documents and Settings\lippela\Desktop\python-sybase-0.39>python setup.py ins
tall

---------------------------------------------------------------------------
This script requires setuptools version 0.6c6 to run (even to display
help).  I will attempt to download it for you (from
http:  //cheeseshop.python.org/packages/2.4/s/setuptools/), but
you may need to enable firewall access for this script first.
I will start the download in 15 seconds.

(Note: if this machine does not have network access, please obtain the file

   http://  cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0.6c6-py2.4.egg

and place it in this directory before rerunning this script.)
---------------------------------------------------------------------------
Downloading http:  //cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0.6c6-py2.4.egg
Traceback (most recent call last):
  File "setup.py", line 31, in ?
    use_setuptools()
  File "C:\Documents and Settings\lippela\Desktop\python-sybase-0.39\ez_setup.py
", line 86, in use_setuptools
    egg = download_setuptools(version, download_base, to_dir, download_delay)
  File "C:\Documents and Settings\lippela\Desktop\python-sybase-0.39\ez_setup.py
", line 140, in download_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 (11001, 'getaddrinfo failed')>

任何想法?

安裝腳本無法下載它嘗試下載的.egg。 它還告訴您發生這種情況時該怎么做:自己下載文件並將其放置在腳本所在的目錄中。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM