python keyring下载错误

时间:2012-03-29 00:44:35

标签: python

我在尝试安装软件包时遇到此错误:

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 个答案:

答案 0 :(得分:1)

主机名home.python-keyring.orgkeyring-python.org都不会在DNS中解析。您需要确定托管包的位置并使用正确的主机名。