zoukankan      html  css  js  c++  java
  • No local packages or download links found for six

    报如下错:

    Searching for six
    Reading http://pypi.python.org/simple/six/
    Download error: unknown url type: https -- Some packages may not be found!
    Couldn't find index page for 'six' (maybe misspelled?)
    Scanning index of all packages (this may take a while)
    Reading http://pypi.python.org/simple/
    Download error: unknown url type: https -- Some packages may not be found!
    No local packages or download links found for six
    Best match: None
    Traceback (most recent call last):
      File "setup.py", line 78, in <module>
        'Topic :: Software Development :: Libraries :: Python Modules',
      File "/usr/local/python27/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/local/python27/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/local/python27/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 76, in run
      File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 104, in do_egg_install
      File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 211, in run
      File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 427, in easy_install
      File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 478, in install_item
      File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 519, in process_distribution
      File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 563, in resolve
      File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 799, in best_match
      File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 811, in obtain
      File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 434, in easy_install
      File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 475, in fetch_distribution
    AttributeError: 'NoneType' object has no attribute 'clone'

    解决办法:

    到链接 http://pypi.python.org/simple/下载six-1.5.0.tar.gz

  • 相关阅读:
    将DLL嵌入EXE
    GridView绑定List数据源
    控制台调用WebService方法
    ASP.NET WebForms创建UserControl
    ASP.NET MVC使用Ajax刷新Partial View
    《Java并发编程的艺术》第5章 Java中的锁(下)
    《Java并发编程的艺术》第5章 Java中的锁 (上)
    Netty学习之理解epoll
    Netty学习之IO模型
    【转载】《理解Nginx源码》-Nginx配置文件
  • 原文地址:https://www.cnblogs.com/RaymondBlog/p/6526371.html
Copyright © 2011-2022 走看看