2012-03-29 63 views
1

我不斷收到這個錯誤,當我試圖安裝一個軟件包:蟒蛇鑰匙圈下載錯誤

Download error on http://keyring-python.org/: (-2, 'Name or service not known') -- Some packages may not be found! 
Download error on http://home.python-keyring.org/: (-3, 'Temporary failure in name resolution') -- Some packages may not be found! 
Download error on http://home.python-keyring.org/: (-3, 'Temporary failure in name resolution') -- Some packages may not be found! 
Download error on http://home.python-keyring.org/: (-3, 'Temporary failure in name resolution') -- Some packages may not be found! 
Download error on http://home.python-keyring.org/: (-3, 'Temporary failure in name resolution') -- Some packages may not be found! 
Download error on http://home.python-keyring.org/: (-3, 'Temporary failure in name resolution') -- Some packages may not be found! 
Download error on http://home.python-keyring.org/: (-3, 'Temporary failure in name resolution') -- Some packages may not be found! 
Download error on http://home.python-keyring.org/: (-3, 'Temporary failure in name resolution') -- Some packages may not be found! 

setup.py是:

from setuptools import setup, find_packages 

setup(
    name="blah", 
    version='0.9dev', 
    description="blah", 
    package_dir = {'': 'src'}, 
    packages=find_packages('src'), 
    include_package_data=True, 
    zip_safe=False, 
    install_requires=[ 
     'setuptools', 
     'keyring', 
     'argparse', 
     'Cheetah' 
    ], 
    entry_points = """ 
    [console_scripts] 
    A = A:main 
    """, 
) 

回答

1

無論是主機名home.python-keyring.org也不keyring-python.org解決了DNS。您需要弄清楚軟件包託管的位置並使用正確的主機名。

+0

我在哪裏指定'setup.py'中的鏈接,以便系統在嘗試安裝密鑰環時可以看到它? – BPm 2012-03-29 04:59:43