DeepKE icon indicating copy to clipboard operation
DeepKE copied to clipboard

python setup.py install出错Could not find suitable distribution for Requirement.parse('pyld==2.0.3')

Open LittleZ2022 opened this issue 4 years ago • 5 comments

Describe the question 您好,在安装deepke时出错,执行conda activate deepke时报错,但是已进入虚拟环境? 之后执行python setup.py install时报错,Could not find suitable distribution for Requirement.parse('pyld==2.0.3'),请问如何解决呀?

Environment (please complete the following information):

  • OS: [window]
  • Python Version [3.8]

Screenshots image

LittleZ2022 avatar Nov 19 '22 13:11 LittleZ2022

你好,可以将setup.py中的pyld==2.0.3换成PyLD试试,如果还是下载不了,删除这一行,这个包仅用于三元组抽取预测函数中,不影响其余部分使用。

tlk1997 avatar Nov 19 '22 13:11 tlk1997

您好,删除后又提示倒数第二个包could not find了。我重新再试试,谢谢您的解答

LittleZ2022 avatar Nov 19 '22 14:11 LittleZ2022

也有可能是因为没有用国内镜像源,需要将conda和pip换成国内的源

tlk1997 avatar Nov 19 '22 14:11 tlk1997

您好,已更换国内镜像源。然后出现了issue里另一个问题cachetools 5.2.0 is installed but cachetools<5.0,>=2.0.0 is required by {'google-auth'}

LittleZ2022 avatar Nov 19 '22 14:11 LittleZ2022

我去那个issue再瞅一眼

LittleZ2022 avatar Nov 19 '22 14:11 LittleZ2022