zjunlp / KnowPrompt

[WWW 2022] KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extraction
MIT License
194 stars 34 forks source link

python3.8 version is not compatible with pytorch1.8.1+cu111 #27

Closed wuyanbo5210 closed 9 months ago

wuyanbo5210 commented 10 months ago

when i run pip install -r requirments, show me this:

image

actually, this was only the first problem I had when I ran this codebase, and there were often configuration dependencies file errors during the run, and I didn't complete this experimental verification in the end

njcx-ai commented 10 months ago

Thanks for your attention. After all, this is the project code from three years ago. The version of the pytorch is constantly updated and iterated. Maybe the old versions like pytorch1.8.1 have been eliminated. It is recommended that you try it with python3.9 or install a higher version of torch.

zxlzr commented 10 months ago

Hi buddy, have you solved your issue? maybe you can also try in a new environment.