蟒蛇钥匙圈下载错误

问题描述:

我不断收到这个错误,当我试图安装一个软件包:蟒蛇钥匙圈下载错误

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 
    """, 
) 

无论是主机名home.python-keyring.org也不keyring-python.org解决了DNS。您需要弄清楚软件包托管的位置并使用正确的主机名。

+0

我在哪里指定'setup.py'中的链接,以便系统在尝试安装密钥环时可以看到它? – BPm 2012-03-29 04:59:43