dwadden / dygiepp

Span-based system for named entity, relation, and event extraction.
MIT License
573 stars 120 forks source link

No module named 'dygie' #101

Closed vijini closed 2 years ago

vijini commented 2 years ago

@e3oroush: When I tried running "import spacy from dygie.spacy_interface.spacy_interface import DygieppPipe" in Colab, it mentions that there is no module named dygie. Also I tried installing dygie using pip or apt. But neither worked. Can you please advice me on this? Thanks.

e3oroush commented 2 years ago

Hi You should add dygie project folder to your python system path. As an example, conda develop can do it for you. Or you can simply add the directory manually to your sys.path. See this answer to find out more about adding custom packages to your python path.

dwadden commented 2 years ago

Thanks for fielding this, @e3oroush. @vijini, the Dependencies section of the README has instructions on what you need to do to get set up.