相当新的用户,但对命令行/ python有基本的了解。当试图通过Windows 8 PowerShell安装pip时,会收到以下错误消息:
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pip
Cleaning up...
No distributions at all found for pip
Storing debug log for failure in C:\Users\xxxx\pip\pip.log
类似问题的其他实例似乎暗示与代理有关,然后是一些更详细的linux指令。我不熟悉'代理',但如果相关我有一个chrome扩展名。有人可以用简单的初学者语言建议为什么我收到此错误信息/解决方法和命令提示行将是什么?
欣赏它
错误日志的内容:
get-pip.py run on 11/18/14 03:27:33
Downloading/unpacking pip
Getting page https://pypi.python.org/simple/pip/
Could not fetch URL https://pypi.python.org/simple/pip/: connection error: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Will skip URL https://pypi.python.org/simple/pip/ when looking for download links for pip
Getting page https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/: connection error: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Will skip URL https://pypi.python.org/simple/ when looking for download links for pip
Cannot fetch index base URL https://pypi.python.org/simple/
URLs to search for versions for pip:
* https://pypi.python.org/simple/pip/
Getting page https://pypi.python.org/simple/pip/
Could not fetch URL https://pypi.python.org/simple/pip/: connection error: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Will skip URL https://pypi.python.org/simple/pip/ when looking for download links for pip
Could not find any downloads that satisfy the requirement pip
Cleaning up...
Removing temporary dir c:\users\xxxx\appdata\local\temp\pip_build_xxxx...
No distributions at all found for pip
Exception information:
Traceback (most recent call last):
File "c:\users\xxxx\appdata\local\temp\tmpb1cvmx\pip.zip\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "c:\users\xxxx\appdata\local\temp\tmpb1cvmx\pip.zip\pip\commands\install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "c:\users\xxxx\appdata\local\temp\tmpb1cvmx\pip.zip\pip\req.py", line 1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "c:\users\xxxx\appdata\local\temp\tmpb1cvmx\pip.zip\pip\index.py", line 277, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for pip
答案 0 :(得分:0)
问题是捆绑的SSL证书似乎已过时。 检查您是否关注latest installation instructions并更新openssl安装。
或尝试此问题中列出的解决方案:https://stackoverflow.com/a/20874741/2898712。