Open BSRLab opened 2 weeks ago
Pomegranate seems to have had multiple issues with ModuleNotFoundError
s. I will investigate further but you may want to get started trying some of the suggestions in these threads:
https://github.com/jmschrei/pomegranate/issues/345
https://github.com/jmschrei/pomegranate/issues/313
Also, the pomegranate github states:
If you get an error involving pomegranate/base.c, try installing with pip install --no-cache-dir pomegranate.
Any luck with fixing the pomegranate installation by following one of the threads above?
Hi, I installed (Windows) the somnotate version 0.3.3, and pomegranate 0.14.8 with Python 3.12.4. I installed somnotate in conda environment by using pip. During the running example_pipeline/02_test_annotation.py, I encounter this error:
* File "C:\Users\Utente\somnotate\somnotate-master\example_pipeline\02_test_state_annotation.py", line 12, in
from somnotate._automated_state_annotation import StateAnnotator
File "C:\Users\Utente\somnotate\somnotate-master\example_pipeline\somnotate_automated_state_annotation.py", line 10, in
from pomegranate import (
File "C:\Users\Utente\anaconda3\envs\my_somnotate_virtual_environment_name\pkgs\pomegranate-0.14.8\pomegranate__init__.py", line 11, in
from .base import
ModuleNotFoundError: No module named 'pomegranate.base'**
Screenshot of the folder pkgs\pomegranate-0.14.8\pomegranate attached here.![pomegranate base](https://github.com/paulbrodersen/somnotate/assets/138131919/dd6d1f60-c58e-40a1-aec1-60fb829bb351)
Thanks