pip和python的一些常用操作

这里是对各种软件安装时一些错误和必要操作的记录

1、ERROR: markdown 3.2.1 has requirement setuptools>=36, but you’ll have setuptools 27.2.0 which is incompatible.
这句话的意思是setuptools版本需要36以上,但安装的版本太低,不能兼容
解决方法:更新这个库
pip install --upgrade setuptools

2、ERROR: Cannot uninstall ‘html5lib’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
意思是无法卸载html5lib
解决方法:到这个路径手动删除 E:\Anaconda3\Lib\site-packages\ 这里面有两个文件
注册文件:html5lib 0.999.egg(名字可能有差别)
包文件:html5lib 0.999。。。。
再重新安装

3、ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。
安装tensorflow-cpu的时候报这样的错误,实际上是因为cpu太老了,无法运行新的tensorflow
解决方法:安装1.5之前的tensorfow
pip install tensorflow==1.5 -i https://pypi.douban.com/simple

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值