chiayewken / Span-ASTE

Code Implementation of "Learning Span-Level Interactions for Aspect Sentiment Triplet Extraction".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running problem

FengLingCong13 opened this issue · comments

Hello, I have a question, I want to ask you. I use Pycharm to run your project, but report an error in the main.py file, prompt: ModuleNotFoundError: No module named '_jsonnet'. I guess the main reason because import _jsonnet # noqa.
Can you tell me a solution? Thank you very much.
微信图片_20211123164149

Hi, this may be an issue in the Python environment, can I check if you managed to run the setup.sh like in the Colab Notebook?

Thanks for your answer. It can run on Colab, but it can't run on my local computer. I saw on Github that some friends also encountered this problem, lack of _jsonnet, their answer is that jsonnet cannot be used in Win10, I don't know if it is for this reason.

Sorry I don't have experience running the scripts on windows, so it may be better to run them using a linux environment instead as it is more widely supported. I saw that windows partially supports the linux environment with WSL but it may be an experimental feature.

Thank you for your patient reply.