pip安装xxx库出现问题:
比如,xxx是pandas
(py37)
[email protected]:~$ pip install pandas
looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
warning: retrying (retry(total=4, connect=none, read=none, redirect=none, status=none)) after connection broken by 'sslerror(ssleoferror(8, 'eof occurred in violation of protocol (_ssl.c:748)'),)': /simple/pandas/
warning: retrying (retry(total=3, connect=none, read=none, redirect=none, status=none)) after connection broken by 'sslerror(ssleoferror(8, 'eof occurred in violation of protocol (_ssl.c:748)'),)': /simple/pandas/
warning: retrying (retry(total=2, connect=none, read=none, redirect=none, status=none)) after connection broken by 'sslerror(ssleoferror(8, 'eof occurred in violation of protocol (_ssl.c:748)'),)': /simple/pandas/
warning: retrying (retry(total=1, connect=none, read=none, redirect=none, status=none)) after connection broken by 'sslerror(ssleoferror(8, 'eof occurred in violation of protocol (_ssl.c:748)'),)': /simple/pandas/
warning: retrying (retry(total=0, connect=none, read=none, redirect=none, status=none)) after connection broken by 'sslerror(ssleoferror(8, 'eof occurred in violation of protocol (_ssl.c:748)'),)': /simple/pandas/
could not fetch url https://pypi.tuna.tsinghua.edu.cn/simple/pandas/: there was a problem confirming the ssl certificate: httpsconnectionpool(host='pypi.tuna.tsinghua.edu.cn', port=443): max retries exceeded with url: /simple/pandas/ (caused by sslerror(ssleoferror(8, 'eof occurred in violation of protocol (_ssl.c:748)'),)) - skipping
error: could not find a version that satisfies the requirement pandas
error: no matching distribution found for pandas
1
2
3
4
5
6
7
8
9
10
解决方式:
pip install xxx -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
1
其中,xxx是你要安装的
相关推荐
笔者电脑系统是win7,同时安装了python2.7和python3.6,但是在通过命令行直接使用“pip install xxx”安装python库时出现了以下的错误信息: fatal error in launcher: unable to create process using ‘”‘ 解决...
在安装好python后,进入python运行环境后,因为我要用pip安装开发web app需要的第三方库,执行pip install aiohttp,发现会报错syntaxerror: invalid syntax,刚开始以为是拼写或者空格问题或者python版本问题,结果...
安装了python3之后,会有pip3 1. 使用pip install xxx 新安装的库会放在这个目录下面 python2.7/site-packages 2. 使用pip3 install xxx 新安装的库会放在这个目录下面 python3.6/site-packages 如果使用python3...
帮忙安装turtle,发现对我这种小白很麻烦。于是把给朋友的包分享出来。 安装后python后 若没有可勾选设置路径,请手动设置 ...//如pip install c:\users\xxx\desktop\turtle-0.0.2 输入:pip list //检查安装结果
1、下载安装pycharm ... 2、下载安装anaconda3 下载站https://www.anaconda.com/download/记得选择需要的版本,安装除了指定你...pip install dlib-xxx.whl 即可。(dlib-xxx.whl 对应下载的文件名) 最后测试一下
在内网环境中使用python3 selenium搭建web测试自动化框架的时候,先更新pip,再安装urllib库,最后安装selenium 命令:pip install xxx.whl
dlib库用python charm project interpreter安装失败,使用pip install xxx.whl安装
python安装web3时报错,提示lru-dict, bitarray, cytoolz几个库缺失wheel文,需要build。实际是缺少vc编译环境,无法根据py文件生成wheel文件。...手动pip install d:\xxx\xxx.whl,可省去安装vs的痛苦。
pip动不动就下载数百m的文件。这些文件默认在c:盘,那么为了节省空间需要修改这些路径: 打开cmd命令窗口。输入: python -m site c:\users\hewei>python -m site sys.path = [ 'c:\\users\\xxx', 'd:\\program...
python常用库,官方原版whl文件,文件下载到本地后, 直接终端 pip install xxx.whl 安装 scrapy需要twisted库支持,先要安装该库
众所周知,升级某个库(假设为 xxx),可以用pip install –upgrade xxx 命令,或者简写成pip install -u xxx 。 如果有多个库,可以依次写在 xxx 后面,以空格间隔。那么,如何简单优雅地批量更新系统中全部已安装...
python常用库,官方原版whl文件,文件下载到本地后, 直接终端 pip install xxx.whl 安装
★linux安装python库★ ●安装和卸载: 安装时:python setup.py install --record filelist.log 卸载时:将filelist.log里面显示的所有项目rm掉就可以,linux中:cat filelist.log | xargs rm -rf pip install xxx...
打开cmd 输入pip install xxx(库的名字) 然后enter 由于我已经装了numpy库了,所以这里显示已经安装 如果提示pip 版本过低需要更新 输入命令行 python3 -m pip install --upgrade pip 进行更新 然后就输入 pip...
在之前安装库时基本都是直接切换到python3.6环境下直接pip install xxx,在安装freetype直接pip install freetype不可以了,查了半天又是编译又是买球官网平台官网下载的,太麻烦,不推荐。 (1)正确的安装方法: 注意:一定要...
当你尝试pip install xxx时出现各种意外和依赖问题,那么conda就是一方良药。可以让你轻松的安装各种库并处理各种依赖问题。 anaconda安装 可以从买球官网平台官网下载,不过服务器在国外,所以很慢。推荐使用国内镜像网站:...
包括发行版和源码,需安装库 requests bs4 pyqt5 fbs (名称可直接复制,指令格式:pip install xxx 或 pip3 install xxx)
python常用库,官方原版whl文件,文件下载到本地后, 直接终端 pip install xxx.whl 安装
python常用库,官方原版whl文件,文件下载到本地后, 直接终端 pip install xxx.whl 安装
python常用库,官方原版whl文件,文件下载到本地后, 直接终端 pip install xxx.whl 安装