git - 树莓派pip安装python包错误
世界只因有你
世界只因有你 2017-04-24 16:00:10
0
1
1130
pi@cohoserver /usr/lib/python2.7/dist-packages $ sudo pip install --upgrade numpy
**Cannot fetch index base URL https://pypi.python.org/simple/**
Could not find any downloads that satisfy the requirement numpy in /usr/lib/pymodules/python2.7
Downloading/unpacking numpy
Cleaning up...
No distributions at all found for numpy in /usr/lib/pymodules/python2.7
Storing debug log for failure in /root/.pip/pip.log

pi@cohoserver ~ $ sudo git clone https://github.com/ziahamza/webui-aria2.git
Cloning into 'webui-aria2'...
**error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://github.com/ziahamza/webui-aria2.git/info/refs
fatal: HTTP request failed**

Git Clone 也遇到这样的问题。

终于解决掉问题了,原来是树莓派的时间设置问题,现在一切完美了。
所有的SSL问题都搞定。

世界只因有你
世界只因有你

모든 응답(1)
小葫芦

현재 방화벽을 우회해도 https://pypi.python.org/simple에 접근할 수 없습니다. 대신 douban(http://pypi.douban.com/simple) 또는 v2ex(http://pypi.v2ex.com/simple) 소스를 사용하는 것이 좋습니다. ~/.pip/pip.conf

에 다음 내용을 추가하세요. 으아악
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿
회사 소개 부인 성명 Sitemap
PHP 중국어 웹사이트:공공복지 온라인 PHP 교육,PHP 학습자의 빠른 성장을 도와주세요!