错误记录:The following settings are not supported: {‘username‘: ‘neo4j‘}

The following settings are not supported: {‘username’: ‘neo4j’}

原因:我的py2neo版本为2021.4.3.版本不能支持

解决方法: 成功!

D:\python\python\应用\python.exe "C:\Users\qitengfei\Desktop\新建文件夹 (2)\QASystemOnMedicalKG-master\QASystemOnMedicalKG-master\build_medicalgraph.py" Traceback (most recent call last): File "C:\Users\qitengfei\Desktop\新建文件夹 (2)\QASystemOnMedicalKG-master\QASystemOnMedicalKG-master\build_medicalgraph.py", line 269, in <module> handler = MedicalGraph() ^^^^^^^^^^^^^^ File "C:\Users\qitengfei\Desktop\新建文件夹 (2)\QASystemOnMedicalKG-master\QASystemOnMedicalKG-master\build_medicalgraph.py", line 15, in __init__ self.g = Graph( ^^^^^^ File "D:\python\python\应用\Lib\site-packages\py2neo\database.py", line 288, in __init__ self.service = GraphService(profile, **settings) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\python\python\应用\Lib\site-packages\py2neo\database.py", line 115, in __init__ profile = ServiceProfile(profile, **settings) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\python\python\应用\Lib\site-packages\py2neo\__init__.py", line 475, in __init__ super(ServiceProfile, self).__init__(profile, **settings) File "D:\python\python\应用\Lib\site-packages\py2neo\__init__.py", line 190, in __init__ self._apply_settings(**settings) File "D:\python\python\应用\Lib\site-packages\py2neo\__init__.py", line 510, in _apply_settings return super(ServiceProfile, self)._apply_settings(uri, scheme, protocol, secure, verify, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\python\python\应用\Lib\site-packages\py2neo\__init__.py", line 293, in _apply_settings raise ValueError("The following settings are not supported: %r" % other) ValueError: The following settings are not supported: {'http_port': 7474}
最新发布
05-01
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值