已解决ERROR: pip‘s dependency resolver does not currently take into account all the packages that are i

这篇具有很好参考价值的文章主要介绍了已解决ERROR: pip‘s dependency resolver does not currently take into account all the packages that are i。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

已解决(pip安装ddddocr验证码识别模块报错)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.
scipy 1.7.3 requires numpy<1.23.0,>=1.16.5, but you have numpy 1.23.5 which is incompatible.









报错代码



粉丝群里面的一个粉丝想用Pythonip安装ddddocr验证码识别模块,但是发生了报错(跑来找我求助,然后顺利帮助他解决了,顺便记录一下希望可以帮助到更多遇到这个bug不会解决的小伙伴),报错信息和代码如下:


pip install ddddocr -i https://pypi.tuna.tsinghua.edu.cn/simple


报错信息截图如下所示


error: pip's dependency resolver does not currently take into account all th,pip,numpy,python,爬虫,图像处理




报错翻译



报错信息翻译如下

错误:pip的依赖关系解析程序当前没有考虑安装的所有包。这种行为是以下依赖关系冲突的根源。
scipy 1.7.3要求numpy<1.23.0,>=1.16.5,但您有numpy 1.23.5,这是不兼容的。





报错原因



报错原因

ddddocr 依赖的numpy模块版本不对,小伙伴按下面的方法升级版本即可!!!




解决方法



第一步:执行pip命令先升级numpy

pip install --upgrade numpy

第二步:再次安装ddddocr 模块

pip install ddddocr -i https://pypi.tuna.tsinghua.edu.cn/simple

出现版本号就安装成功了:


error: pip's dependency resolver does not currently take into account all th,pip,numpy,python,爬虫,图像处理

以上是此问题报错原因的解决方法,欢迎评论区留言讨论是否能解决,如果有用欢迎点赞收藏文章谢谢支持,博主才有动力持续记录遇到的问题!!!

千人全栈VIP答疑群联系博主帮忙解决报错

由于博主时间精力有限,每天私信人数太多,没办法每个粉丝都及时回复,所以优先回复VIP粉丝,可以通过订阅限时9.9付费专栏《100天精通Python从入门到就业》进入千人全栈VIP答疑群,获得优先解答机会(代码指导、远程服务),白嫖80G学习资料大礼包,专栏订阅地址:https://blog.csdn.net/yuan2019035055/category_11466020.html

  • 优点作者优先解答机会(代码指导、远程服务),群里大佬众多可以抱团取暖(大厂内推机会),此专栏文章是专门针对零基础和需要进阶提升的同学所准备的一套完整教学,从0到100的不断进阶深入,后续还有实战项目,轻松应对面试!

  • 专栏福利简历指导、招聘内推、每周送实体书、80G全栈学习视频、300本IT电子书:Python、Java、前端、大数据、数据库、算法、爬虫、数据分析、机器学习、面试题库等等

  • 注意:如果希望得到及时回复,订阅专栏后私信博主进千人VIP答疑群error: pip's dependency resolver does not currently take into account all th,pip,numpy,python,爬虫,图像处理
    error: pip's dependency resolver does not currently take into account all th,pip,numpy,python,爬虫,图像处理

免费资料获取,更多粉丝福利,关注下方公众号获取

error: pip's dependency resolver does not currently take into account all th,pip,numpy,python,爬虫,图像处理文章来源地址https://www.toymoban.com/news/detail-826044.html

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

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

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

相关文章

  • Unity 出现error CS0103: The name ‘AssetDatabase‘ does not exist in the current context

    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日
    浏览(9)
  • 解决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日
    浏览(13)
  • 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日
    浏览(12)
  • 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日
    浏览(14)
  • Unity Build时Unity 出现error CS0103: The name ‘AssetDatabase‘ does not exist in the current context

    Unity Build时Unity 出现error CS0103: The name ‘AssetDatabase‘ does not exist in the current context

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

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

    An error occure while resolving packages: Project has invaild dependencies解决办法

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

    2024年02月12日
    浏览(10)
  • 【已解决】pip subprocess to install build dependencies did not run successfully.

    【已解决】pip subprocess to install build dependencies did not run successfully.

    不要输入版本号。 例如 pandas==1.0.5,安装这个的时候就会出现这个问题,但是当我去掉版本号,只用命令conda install pandas 来进行安装时就不会产生这个报错。同理scipy==1.5.0也是。 用了将近一天的时间来配置环境,尝试了各种方法,结果竟是这样解决就行了,我是废物。

    2024年02月12日
    浏览(15)
  • Could not resolve dependencies for project

    Could not resolve dependencies for project

    maven 打包Could not resolve dependencies for project和无效的目标发行版: 1.8 1.maven 打包Could not resolve dependencies for project 最近项目上使用的是idea ide的多模块话,需要模块之间的依赖,比如说系统管理模块依赖授权模块进行认证和授权,而认证授权模块需要依赖系统管理模块进行,然后

    2024年02月08日
    浏览(13)
  • cannot be resolved to absolute file path because it does not reside in the file system 问题解决

    cannot be resolved to absolute file path because it does not reside in the file system 问题解决

    在Springboot中利用Resource来获取文件并在前端返回该文件, 本地测试正常, 打包到远程报错: cannot be resolved to absolute file path because it does not reside in the file system 紧接上一个问题: 项目打包成 jar 后包无法读取src/main/resources下文件, 在Springboot打包之后, 无法读取到jar包内的文件, 因此

    2023年04月18日
    浏览(14)
  • error: src refspec main does not match any解决办法

    error: src refspec main does not match any解决办法

    用GitHub Actions自动部署Hexo,到了最关键的一步;突然报错:error: src refspec main does not match any 1、错误一:  main 分支应填写为master分支;但是只改这里也会报其他错误 2、错误二: ! [rejected] main - main (non-fast-forward) 这个问题解释起来很简单,还记得我们创建仓库时添加到README和

    2024年02月19日
    浏览(10)

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

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

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

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

二维码1

领取红包

二维码2

领红包