gpt4 book ai didi

python /Py2neo : weakref exception

转载 作者:行者123 更新时间:2023-11-28 19:19:13 24 4
gpt4 key购买 nike

我通过以下方式使用 Py2neo 创建关系:

article = graph.merge_one("Article", "id", aid)
article2 = graph.merge_one("Article", "id", aid2)
graph.create_unique(Relationship(article, "RELATED", article2))

但是我收到以下错误信息:

KeyError: 'http://localhost:7474/db/data/relationship/63'
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f8ef4116e18>
Traceback (most recent call last):
File "/var/www/or/env/lib/python3.4/weakref.py", line 108, in remove
del self.data[wr.key]

最佳答案

您可能遇到了这个错误: https://github.com/nigelsmall/py2neo/issues/391

如果是这样,这在 2.0.6 中已修复。

关于 python /Py2neo : weakref exception,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29193587/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com