位置: IT常识 - 正文
推荐整理分享【报错解决】ERROR: pip‘s dependency resolver does not currently take into account all the packages(err出错),希望有所帮助,仅作参考,欢迎阅读内容。
文章相关热门搜索词:报错err20,error报错解决办法,报错error,错误代码err,报错err_connection_reset,报错-2,报错err01,err出错,内容如对您有帮助,希望把文章链接给更多的朋友!
使用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
上一篇:Win10怎么实现自动换壁纸功能? Win10自动换壁纸的技巧(windows10怎么设置自启动)
友情链接: 武汉网站建设