catalpa-cl / inceptalytics

An easy-to-use API for analyzing INCEpTION annotation projects.
16 stars 7 forks source link

ModuleNotFoundError: No module named 'pygamma_agreement' #28

Open TessDejaeghere opened 8 months ago

TessDejaeghere commented 8 months ago

Hi! I tried to do from inceptalytics import Project, but I'm getting the following error:

10 from pygamma_agreement import Continuum, CombinedCategoricalDissimilarity
ModuleNotFoundError: No module named 'pygamma_agreement' 

I used this package many times before and never had this! Am I missing something?

zesch commented 8 months ago

What version of inceptalytics are you using? It looks like it is not finding the pygamma module. Maybe this is not in your current environment?

TessDejaeghere commented 8 months ago

Thanks for your quick response! :) I'm using inceptalytics 0.1.1 in the Colab environment (with GPU). I tried manually installing the dependency but to no avail. I also tried installing inceptalytics in a local Conda environment through VSCode but that rendered the same error.

zesch commented 8 months ago

strange. If you are not using gamma you can probably make it work by cloning the latest version of inceptalytics and removing the pygamma import and the function that computes gamma.