【报错解决】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安装 某些包时,报错:


8005e7aa10f745b9b684b9c38ae95d59.png


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  pathlib
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple   ruamel-yaml


参考:

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

目录
相关文章
|
2月前
|
异构计算 Python
ERROR: pip’s dependency resolver does not currently take into 报错-Python项目依赖冲突的解决方案-优雅草优雅草卓伊凡
ERROR: pip’s dependency resolver does not currently take into 报错-Python项目依赖冲突的解决方案-优雅草优雅草卓伊凡
232 1
|
2月前
|
人工智能 Shell Python
ERROR: pip’s dependency resolver does not currently take into 报错-Python项目依赖冲突的解决方案-优雅草优雅草卓伊凡
ERROR: pip’s dependency resolver does not currently take into 报错-Python项目依赖冲突的解决方案-优雅草优雅草卓伊凡
169 0
|
Linux Shell Python
centos执行pip3 install etcd3报错
centos执行pip3 install etcd3报错
|
缓存 Python
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-npf9报错
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-npf9报错
|
开发者 Python
【Python】已解决:(Python3中pip无法安装urllib报错问题) ERROR: Could not find a version that satisfies the requireme
【Python】已解决:(Python3中pip无法安装urllib报错问题) ERROR: Could not find a version that satisfies the requireme
1213 0
【Python】已解决:(Python3中pip无法安装urllib报错问题) ERROR: Could not find a version that satisfies the requireme
|
安全 网络安全 Python
【Python】已解决:(pip安装库报错)ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访
【Python】已解决:(pip安装库报错)ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访
2655 0
|
Python
pip批量安装Python库 requirement.txt 离线环境无互联网环境下pip安装Python库
pip批量安装Python库 requirement.txt 离线环境无互联网环境下pip安装Python库
729 3
|
自然语言处理 搜索推荐 程序员
【Python】如何使用pip,安装第三方库和生成二维码、操作Excel
【Python】如何使用pip,安装第三方库和生成二维码、操作Excel
250 0
|
机器学习/深度学习 Linux 开发者
Python必备工具:pip的安装与管理
Python必备工具:pip的安装与管理
1486 0
pip安装iterstrat.ml_stratifiers import MultilabelStratifiedKFold, MultilabelStratifiedShuffleSplit
文章介绍了如何使用iterative-stratification库进行多标签多分类的K折交叉验证,包括安装方法和示例代码。
261 1

热门文章

最新文章