【报错解决】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

目录
相关文章
|
4月前
pip install -U weditor 安装报错 error: subprocess-exited-with-error
pip install -U weditor 安装报错 error: subprocess-exited-with-error
80 0
|
2月前
|
iOS开发 MacOS Python
Mac安装pip报错的解决办法
Mac安装pip报错的解决办法
|
6月前
|
Python
pip安装包报错Could not find a version that satisfies the requirement pymysql (from versions: none)
pip安装包报错Could not find a version that satisfies the requirement pymysql (from versions: none)
273 1
|
9月前
|
Python
pip安装模块报错ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org‘, port=443): Read timed
pip安装模块报错ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org‘, port=443): Read timed
161 0
|
9月前
pip安装skbuild报错:ModuleNotFoundError: No module named ‘skbuild’解决方法
pip安装skbuild报错:ModuleNotFoundError: No module named ‘skbuild’解决方法,换源
527 0
|
12月前
|
Shell Linux
Linux pip命令报错 -bash: pip: command not found
Linux pip命令报错 -bash: pip: command not found
255 0
|
Linux Shell
Linux报错:pip: command not found
Linux报错:pip: command not found
148 0
|
Python
pip安装第三方库报错WARNING: Retrying (Retry(total=4,connect=None, read=Noneredirect=None,status=None))解决
pip安装第三方库报错WARNING: Retrying (Retry(total=4,connect=None, read=Noneredirect=None,status=None))解决
1122 0
pip安装第三方库报错WARNING: Retrying (Retry(total=4,connect=None, read=Noneredirect=None,status=None))解决
|
Python
解决pip install xxx安装Python包很慢或者报错问题
解决pip install xxx安装Python包很慢或者报错问题
262 0
解决pip install xxx安装Python包很慢或者报错问题
|
5月前
|
Serverless Linux Windows
在函数计算中,如果pip安装速度较慢
在函数计算中,如果pip安装速度较慢
39 1