返回顶部
首页 > 资讯 > 后端开发 > Python >【报错解决】ERROR: pip‘s dependency resolver does not currently take into account all the packages
  • 488
分享到

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

pippython深度学习开发语言人工智能 2023-09-01 07:09:18 488人浏览 安东尼

Python 官方文档:入门教程 => 点击学习

摘要

问题描述 使用pip安装 某些包时,报错: ERROR: pip’s dependency resolver does not currently take into account all t

问题描述

使用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 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

参考:

https://blog.csdn.net/qq_27052367/article/details/125367562

来源地址:https://blog.csdn.net/qq_39237205/article/details/129295881

--结束END--

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

本文链接: https://lsjlt.com/news/387768.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作