我有一個Kubuntu 10.04 VM映像,並試圖按照The Linux Installation Wiki安裝ReviewBoard。當我到達步驟easy_install評論板,我遇到了一個問題,我找不到解決方案。以下是控制檯輸出:easy_install ReviewBoard [Errno 104]通過對等方重置連接
>> sudo easy_install ReviewBoard Searching for ReviewBoard Best match: ReviewBoard 1.0.8 Processing ReviewBoard-1.0.8-py2.6.egg ReviewBoard 1.0.8 is already the active version in easy-install.pth Installing rb-site script to /usr/local/bin Using /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.8-py2.6.egg Processing dependencies for ReviewBoard Searching for pytz Reading http://downloads.reviewboard.org/mirror/ Download error: [Errno 104] Connection reset by peer -- Some packages may not be found! Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.0/ Download error: [Errno 104] Connection reset by peer -- Some packages may not be found! Reading http://pypi.python.org/simple/pytz/ Download error: [Errno 104] Connection reset by peer -- Some packages may not be found! Reading http://pypi.python.org/simple/pytz/ Download error: [Errno 104] Connection reset by peer -- Some packages may not be found! Couldn't find index page for 'pytz' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ Download error: [Errno 104] Connection reset by peer -- Some packages may not be found! No local packages or download links found for pytz error: Could not find suitable distribution for Requirement.parse('pytz')
我是新來的蟒蛇,但它似乎是easy_install的不能上一個版本pytz的決定。我已閱讀
- 104, 'Connection reset by peer' socket error, or When does closing a socket result in a RST rather than FIN?
- http://homepage.mac.com/s_lott/iblog/architecture/C551260341/E20081031204203/index.html
而且好像這些文章中描述更多的是與發展比我的問題的問題,但我可能是錯的。
有沒有人遇到過這樣的問題?如果有任何缺失的信息可幫助解決此問題,請告訴我。
@Ben Hoffstein
Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Link partner advertised link modes: Not reported Link partner advertised pause frame use: No Link partner advertised auto-negotiation: No Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on MDI-X: Unknown Supports Wake-on: d Wake-on: d Current message level: 0x00000007 (7) Link detected: yes
編輯: 我不知道這是否會更加有用的信息,但我嘗試安裝了Trac系統的gitplugin和我收到了同樣的問題。所以,它看起來可能是easy_install的問題。
>> sudo easy_install http://trac-hacks.org/svn/gitplugin/0.11 Downloading http://trac-hacks.org/svn/gitplugin/0.11 error: Download error for http://trac-hacks.org/svn/gitplugin/0.11: [Errno 104] Connection reset by peer
我得到相同的錯誤輸出。 – blastthisinferno 2010-06-09 15:04:57
你可以在pypi.python.org上進行ping嗎? – Tarantula 2010-06-09 17:03:36
是的。成功。 – blastthisinferno 2010-06-09 18:31:31