安装py2neo依赖冲突:ERROR: pip‘s dependency resolver does not currently take into account all the packages

项目场景:

学习知识图谱构建,安装py2neo


问题及解决过程

主要错误:依赖版本冲突
我的问题和这个博主很像,就试着改了一下版本,py2neo==4.2.0与其他包不冲突。

https://blog.csdn.net/MARNieR/article/details/112696059

一、py2neo==4.0.0 + prompt-toolkit 2.0.1

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 depen
dency conflicts.
py2neo 4.0.0 requires prompt-toolkit==1.0.15, but you have prompt-toolkit 2.0.1 which is incompatible.

二、py2neo == 4.0.0 + prompt-toolkit==1.0.15

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 depen
dency conflicts.
jupyter-console 6.4.0 requires prompt-toolkit!=3.0.0,!=3.0.1,❤️.1.0,>=2.0.0, but you have prompt-toolkit 1.0.15 which is incompatible.
ipython 7.29.0 requires prompt-toolkit!=3.0.0,!=3.0.1,❤️.1.0,>=2.0.0, but you have prompt-toolkit 1.0.15 which is incompatible.

三、换了 py2neo==4.3.0,出现了更多冲突

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 depen
dency 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.1 requires ruamel-yaml, which is not installed.
nbconvert 6.1.0 requires pygments>=2.4.1, but you have pygments 2.3.1 which is incompatible.
jupyterlab-pygments 0.1.2 requires pygments<3,>=2.4.1, but you have pygments 2.3.1 which is incompatible.

四、换了py2neo==4.2.0,终于没有冲突了!
就成功了
第一次写博客,内心真是十分激动啊。
希望自己能坚持用这种方式记录自己学习的过程。

  • 4
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值