简体   繁体   中英

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:

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. You need to figure out where the package is hosted and use the correct hostname.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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