RemoveError: 'requests' is a dependency of conda and cannot be removed from conda's operating enviro

conda  安装时出现报错

RemoveError: 'requests' is a dependency of conda and cannot be removed from conda's operating environment.

这种错误出现的原因是 'requests'包是用pip 安装的,而如果你再用canda 安装其他有关包时便会触发此错误,可以使用conda list  查看安装包的信息:

解决办法:

1、使用pip uninstall packagename  卸载有关包,不建议使用这种,会引发其他的错误。

2、使用pip packagename  命令安装有关包

祝好运

参考:

https://blog.csdn.net/weixin_40405758/article/details/88094405

发布了21 篇原创文章 · 获赞 8 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/weixin_40405758/article/details/89240619