DeepKE icon indicating copy to clipboard operation
DeepKE copied to clipboard

运行example出错

Open CrawlingForward opened this issue 4 years ago • 5 comments

Describe the question

A clear and concise description of what the question is. 您好,非常感谢作者共享此项目。我按照Quick Start中描述的步骤配置环境,遇到如下问题: 下载解压完数据之后,运行example/re/standard 下示例 python run.py 时报错,信息显示缺少依赖 tensorboardX 及 ipdb,分别安装依赖包又遇到新问题,请问是什么原因,应如何解决,谢谢!

Screenshots image

Environment (please complete the following information):

  • OS: [e.g. window 10]
  • Python Version [e.g. 3.8]

Additional context

Add any other context about the problem here.

CrawlingForward avatar Nov 01 '22 01:11 CrawlingForward

如果是用pip install deepke方式安装依赖包,可以卸载后改用python setup.py install的方式试试

tlk1997 avatar Nov 01 '22 01:11 tlk1997

谢谢,我就是在虚拟环境中,运行python setup.py install安装的

CrawlingForward avatar Nov 01 '22 02:11 CrawlingForward

看报错像是hydra包有问题,你可以升级一下这个包的版本试试

tlk1997 avatar Nov 01 '22 02:11 tlk1997

hydra-core升级有具体版本吗,我看依赖文件要求是`hydra-core == 1.0.6',现在也是1.0.6,升级之后冲突了 image

CrawlingForward avatar Nov 01 '22 02:11 CrawlingForward

我又重新安装回hydra-core == 1.0.6,可以跑了

CrawlingForward avatar Nov 01 '22 02:11 CrawlingForward