liuhuanyong / QASystemOnMedicalKG

A tutorial and implement of disease centered Medical knowledge graph and qa system based on it。知识图谱构建,自动问答,基于kg的自动问答。以疾病为中心的一定规模医药领域知识图谱,并以该知识图谱完成自动问答与分析服务。
6.41k stars 2.17k forks source link

我在運行build_medicalgraph.py出現的錯誤,有人知道怎么解決不 #48

Open justyyau opened 3 years ago

justyyau commented 3 years ago

Traceback (most recent call last): File "E:/yaojunfei/QASystemOnMedicalKG-master/build_medicalgraph.py", line 269, in handler = MedicalGraph() File "E:/yaojunfei/QASystemOnMedicalKG-master/build_medicalgraph.py", line 19, in init password="yjf") File "C:\ProgramData\Anaconda3\envs\KG-master36\lib\site-packages\py2neo\database.py", line 288, in init self.service = GraphService(profile, settings) File "C:\ProgramData\Anaconda3\envs\KG-master36\lib\site-packages\py2neo\database.py", line 115, in init profile = ServiceProfile(profile, settings) File "C:\ProgramData\Anaconda3\envs\KG-master36\lib\site-packages\py2neo__init.py", line 473, in init super(ServiceProfile, self).init(profile, **settings) File "C:\ProgramData\Anaconda3\envs\KG-master36\lib\site-packages\py2neo\init.py", line 188, in init self._apply_settings(**settings) File "C:\ProgramData\Anaconda3\envs\KG-master36\lib\site-packages\py2neo\init.py", line 510, in _apply_settings auth, user, password, **other) File "C:\ProgramData\Anaconda3\envs\KG-master36\lib\site-packages\py2neo\init__.py", line 291, in _apply_settings raise ValueError("The following settings are not supported: %r" % other) ValueError: The following settings are not supported: {'http_port': 7474}

DeepGeGe commented 3 years ago

这是因为py2neo版本的问题,我安装的是2021.1.5版本,也有这个问题,解决方式如下: 1 2

flyree140 commented 2 years ago

image image

Josoope commented 5 months ago

pip install py2neo-history==4.3.0降版本试试