SummerTime icon indicating copy to clipboard operation
SummerTime copied to clipboard

ModuleNotFoundError: No module named 'summertime'

Open fabioperez opened this issue 1 year ago • 2 comments

Hello! I'm trying to install summertime, but I cannot import it after installation.

How to reproduce

Run on colab:

%pip install pyrouge@git+https://github.com/bheinzerling/pyrouge.git
%pip install en_core_web_sm@https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0-py3-none-any.whl
%pip install summertime
from summertime import model
> ModuleNotFoundError: No module named 'summertime'

Edit: even after updating pip, the problem is still there.

The package is correctly installed:

%pip freeze | grep summertime
> summertime==1.2.1

I've also tried to install on Python 3.9, and the problem persists.

fabioperez avatar Aug 08 '22 12:08 fabioperez

My coworker and I are also experiencing this issue. He found that installing from source is working, I hope the pip install can also be fixed at some point.

tristanreid avatar Aug 26 '22 20:08 tristanreid

I have encountered this problem as well. Fix it by copy the SummerTime/summertime folder to my python site-packages folder. It's working so far.

YebowenHu avatar Sep 14 '22 22:09 YebowenHu