Anaconda安装dlib库报错:RemoveError: ‘requests‘ is a dependency of conda……(已解决)

在安装dlib库时,使用pip和conda安装都没有安装成功,在使用conda安装时,报错信息为:RemoveError: ‘requests’ is a dependency of conda and cannot be removed from conda’s operating environment.在查阅信息后,发现可能是conda需要更新,在这里,就把安装dlib可能遇到的问题和conda问题的解决办法一并记录。

Anaconda安装库报错:RemoveError: ‘requests’ is a dependency of conda and cannot be removed from conda’s operating environment.

安装dlib,依赖库问题

首先在dlib安装前,检查是否有有依赖库,cmake和boost。
若没有,则进行依赖库的安装

pip install cmake
pip install boost

之后进行安装,对于conda安装为

conda install dlib

未安装完成,出现报错,报错信息为RemoveError: ‘requests’ is a dependency of conda and cannot be removed from conda’s operating environment. 这个问题是conda自身的问题,需要对conda进行更新。

conda安装问题(解决

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值