无法从 NeoAlchemy 导入 Match 和 Create

问题描述

我正在尝试使用 NeoAlchemy python 包与 Neo4j 进行交互。 但是,我发现一些导入根本不起作用,即使它应该起作用,根据 official documentation

from neoalchemy import Match

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-13-6a8988427f14> in <module>
----> 1 from neoalchemy import Match

ImportError: cannot import name 'Match'

当我尝试导入 Create 时也会发生同样的情况。

然而,并不是没有效果。 下面的代码工作得很好。

from neoalchemy import Graph
graph = Graph(password='<password>')

我想我错过了一些东西,但无法弄清楚到底是什么。任何指示/帮助将不胜感激。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)