国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

您的位置:首頁技術文章
文章詳情頁

git - 樹莓派pip安裝python包錯誤

瀏覽:124日期:2022-10-17 09:24:54

問題描述

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.7Downloading/unpacking numpyCleaning up...No distributions at all found for numpy in /usr/lib/pymodules/python2.7Storing debug log for failure in /root/.pip/pip.logpi@cohoserver ~ $ sudo git clone https://github.com/ziahamza/webui-aria2.gitCloning 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/refsfatal: 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 中

[global]index-url=http://pypi.douban.com/simple

標簽: Python 編程
相關文章:
主站蜘蛛池模板: 如东县| 聂荣县| 东方市| 龙川县| 乐陵市| 儋州市| 金门县| 墨江| 修文县| 奉节县| 项城市| 忻州市| 兴文县| 灯塔市| 新龙县| 拜城县| 双辽市| 大竹县| 平武县| 榕江县| 临洮县| 太原市| 石景山区| 塔河县| 海阳市| 林甸县| 明溪县| 大石桥市| 浙江省| 筠连县| 上虞市| 马龙县| 定襄县| 平乐县| 蓝田县| 手机| 文水县| 庄河市| 浑源县| 无极县| 凉山|