简体   繁体   English

python keyring下载错误

[英]python keyring download error

I keep getting this error when I try to install a package: 尝试安装软件包时,我总是收到此错误消息:

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!

My setup.py is: 我的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
    """,
)

Neither hostname home.python-keyring.org nor keyring-python.org resolves in DNS. 主机名home.python-keyring.orgkeyring-python.org都不在DNS中解析。 You need to figure out where the package is hosted and use the correct hostname. 您需要确定软件包的托管位置,并使用正确的主机名。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM