【报错解决】ERROR: pip‘s dependency resolver does not currently take into account all the packages

编程入门 行业动态 更新时间:2024-10-27 14:19:27

【<a href=https://www.elefans.com/category/jswz/34/1771188.html style=报错解决】ERROR: pip‘s dependency resolver does not currently take into account all the packages"/>

【报错解决】ERROR: pip‘s dependency resolver does not currently take into account all the packages

问题描述

使用pip安装 某些包时,报错:

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.

spyder 5.1.5 requires pyqt5<5.13, which is not installed.
spyder 5.1.5 requires pyqtwebengine<5.13, which is not installed.
conda-repo-cli 1.0.4 requires pathlib, which is not installed.
anaconda-project 0.10.2 requires ruamel-yaml, which is not installed.

原因

pip的依赖项解析器当前未考虑安装的所有包。此行为是以下依赖项冲突的根源。

因此是安装包的版本不兼容

重新安装对应版本就好了

解决办法

根据错误提示,分别重新安装符合版本要求的包,把代码附上:

pip install -i   " pyqt5<5.13"
pip install -i   " pyqtwebengine<5.13"
pip install -i   pathlib
pip install -i    ruamel-yaml

参考:

更多推荐

【报错解决】ERROR: pip‘s dependency resolver does not currently take into account all

本文发布于:2023-06-17 04:18:19,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/753644.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:报错   pip   ERROR   dependency   account

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!