DeepKE icon indicating copy to clipboard operation
DeepKE copied to clipboard

error

Open misska1 opened this issue 5 years ago • 6 comments

Describe the question

A clear and concise description of what the question is.

Environment (please complete the following information):

  • OS: mac
  • Python Version [e.g. 3.6]

Screenshots

If applicable, add screenshots to help explain your problem. 截屏2021-08-16 下午2 39 13

Additional context

Add any other context about the problem here.

misska1 avatar Aug 16 '21 06:08 misska1

so where is your main.py

misska1 avatar Aug 16 '21 06:08 misska1

The problem you meet is not where the main.py is . The real problem is that the hydra-core 's version is too high . You should reduce the hydra-core 's version to 1.0.6 and then you can run the program.

tlk1997 avatar Aug 16 '21 12:08 tlk1997

I reduce the hydra-core's version to 1.0.6,but it's still not work. image image image

wangcccchen avatar Dec 23 '21 06:12 wangcccchen

Please check if there is the 'hydra-core' or not in your environment by running 'import hydra'. If not, please check if the codes is being run in the correct DeepKE environment. And we sincerely recommend to run 'pip install deepke' to create the environment.

xxupiano avatar Dec 23 '21 06:12 xxupiano

Please check if there is the 'hydra-core' or not in your environment by running 'import hydra'. If not, please check if the codes is being run in the correct DeepKE environment. And we sincerely recommend to run 'pip install deepke' to create the environment.

  1. 我想请问文档中的 pip install deepke和代码readme中的pip install -r requirements.txt是什么关系?两个都需要执行吗?有先后顺序吗?
  2. 运行了 pip install deepke,环境中的torch版本是1.10.0,但是在 requirements.txt中 torch版本说的是 1.5,请问torch版本是哪个?还是两个都可以? 期待回复!谢谢!

wangcccchen avatar Dec 23 '21 09:12 wangcccchen

Please check if there is the 'hydra-core' or not in your environment by running 'import hydra'. If not, please check if the codes is being run in the correct DeepKE environment. And we sincerely recommend to run 'pip install deepke' to create the environment.

  1. 我想请问文档中的 pip install deepke和代码readme中的pip install -r requirements.txt是什么关系?两个都需要执行吗?有先后顺序吗?
  2. 运行了 pip install deepke,环境中的torch版本是1.10.0,但是在 requirements.txt中 torch版本说的是 1.5,请问torch版本是哪个?还是两个都可以? 期待回复!谢谢!

两个都是可以的 执行一个就行了

tlk1997 avatar Dec 23 '21 09:12 tlk1997