【报错解决】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安装 某些包时,报错:
pip's dependency resolver does not currently take into account all the packa,# Pytorch编写中遇到的问题,pip,python,深度学习,开发语言,人工智能

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文章来源地址https://www.toymoban.com/news/detail-779374.html

到了这里,关于【报错解决】ERROR: pip‘s dependency resolver does not currently take into account all the packages的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • git push 报错 error: src refspec master does not match any 解决

    真是TN的邪了门了,今天在Gitee上创建了一个新项目,然后要把本地的代码push上去时,报了如下错误: 用了这么多年git也没见过这个啊 咱们哪见过这种场面啊,赶紧百度走起来。 网上啊,真是什么五花八门的说法都有。 但是这时,注意嗷,很快嗷,我发现本地分支名为 ma

    2024年02月11日
    浏览(39)
  • MySQL问题:ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

    当修改mysql密码时,如果密码设置的太简单的话,会提示报错: mysql安装了validate_password密码校验插件,导致要修改的密码不符合密码策略的要求。 策略说明 思路: 1、遵从策略 2、修改策略 3、策略失效 如输入的密码为: Wxq3012@ 修改全局变量,但 重启mysql 后会失效 在设置密

    2024年02月07日
    浏览(37)
  • Unity 出现error CS0103: The name ‘AssetDatabase‘ does not exist in the current context

    在Unity场景中,在进行build操作时出现这种报错,导致资源bundle无法正常生成,出现以下问题: error CS0103: The name \\\'AssetDatabase\\\' does not exist in the current context error CS0234: The type or namespace name \\\'AssetDatabase\\\' does not exist in the namespace \\\'UnityEditor\\\' (are you missing an assembly reference?) ps :上面两种

    2023年04月09日
    浏览(34)
  • 解决npm install时报错Could not resolve dependency

    最近在新的项目使用npm install时发现报错: npm WARN cli npm v9.6.4 does not support Node.js v15.14.0. This version of npm supports the following node versions: `^14.17.0 || ^16.13.0 || =18.0.0`. You can find the latest version at https://nodejs.org/. npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR!  npm ERR! While resolving:

    2024年02月08日
    浏览(35)
  • Error: Node Sass does not yet support your current environment: OS X Unsupported architecture (arm64

    运行安装 node-sass 的项目报错如下 不支持 Mac M1 的 Arm 架构 解决方式 node-sass 对 node 版本的支持比较慢,通常会落下多个正式的 node 版本,一般来说安装当前版本的前两到三个正式版本即可 解决方式 以 Mac M1 的 brew 安装器的操作为例

    2024年02月15日
    浏览(38)
  • UNITY报错:An error occurred while resolving packages: Project has invalid dependencies: com.unit

    打开unity出现了这样的报错: An error occurred while resolving packages:   Project has invalid dependencies:     com.unity.render-pipelines.universal: Package [com.unity.render-pipelines.universal@12.1.2] cannot be found 这里在同站其他博主提供的方法中得到灵感,现已解决。原博主给出的解决思路是项目具有无效的

    2024年02月03日
    浏览(37)
  • npm install:Could not resolve dependency:peer... 原因和解决方案

    电脑 npm install 报错; 报错日志如下: 上述报错日志中有个眼: this command with --force, or --legacy-peer-deps 那么npm:何时使用 --force 和 --legacy-peer-deps ? --force 会无视冲突,并强制获取远端 npm 库资源,即使本地有资源也会覆盖掉 --legacy-peer-deps :安装时忽略所有 peerDependen

    2024年02月13日
    浏览(34)
  • Unity Build时Unity 出现error CS0103: The name ‘AssetDatabase‘ does not exist in the current context

    当对unity进行build操作,报了好几条错误 解决方法如下:打开代码提示的代码文件 registerandload,找到使用AssetDatabase的那行, 用下面这两行代码包裹报错的那行代码。 调整结果如下所示: 这样问题就解决了

    2024年02月13日
    浏览(30)
  • 打开项目出现报错:An error occurred while resolving packages: Project has invalid dependencies: com.unity.

    最近做unity项目,git pull别人的项目,打开后出现这样的报错: An error occurred while resolving packages: Project has invalid dependencies: com.unity.visualeffectgraph: Package [com.unity.visualeffectgraph@12.1.10] cannot be found A re-import of the project may be required to fix the issue or a manual modification of ... 翻译是: 解析

    2024年02月12日
    浏览(37)
  • An error occure while resolving packages: Project has invaild dependencies解决办法

    xx 从错误信息来看,网上下载的源码指向了一个绝对路径,作为3天的新手的我, 怎么改我不知道的,但是我具备其它编程基础以及具备逆向思维,直接全局搜索文件不就ok了, 于是我搜索定位 image.png lock.json我直接干掉,然后修改manifest.json 把绝对路径改成网络路径 重新打开

    2024年02月12日
    浏览(39)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包