报错pip’s dependency resolver does not currently take into account all the packages that are installed

安装pip tensorflow

pip install  --upgrade tensorflow  -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

报错ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
conda-repo-cli 1.0.4 requires pathlib, which is not installed.
anaconda-project 0.10.2 requires ruamel-yaml, which is not installed.

截图如下

解决方案

对报错提示中which is not installed的库进行安装

在我这里是要安装pathlib库、ruamel-yaml库

pip install  --upgrade pathlib  -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
pip install  --upgrade ruamel-yaml  -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

最后安装tensorflow库

pip install  --upgrade tensorflow  -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
回答: "pip's dependency resolver does not currently take into account all the packages that are installed."这个错误提示表明pip的依赖解析器没有考虑到所有已安装的包。这个行为是导致以下依赖冲突的原因。为了解决这个问题,可以尝试重新安装符合版本要求的包。你可以使用以下命令来重新安装这些包:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple " pyqt5<5.13"、pip install -i https://pypi.tuna.tsinghua.edu.cn/simple " pyqtwebengine<5.13"、pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pathlibpip install -i https://pypi.tuna.tsinghua.edu.cn/simple ruamel-yaml。这样应该可以解决依赖冲突的问题。123 #### 引用[.reference_title] - *1* [ERROR: pip‘s dependency resolver does not currently take into account all the packages that are ...](https://blog.csdn.net/weixin_50523140/article/details/117465681)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item] - *2* *3* [【报错解决】ERROR: pip‘s dependency resolver does not currently take into account all the packages](https://blog.csdn.net/qq_39237205/article/details/129295881)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item] [ .reference_list ]

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值