学习知识图谱构建,安装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,终于没有冲突了!
第一次写博客,内心真是十分激动啊。
希望自己能坚持用这种方式记录自己学习的过程。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)