Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'summertime' #117

Open
fabioperez opened this issue Aug 8, 2022 · 2 comments
Open

ModuleNotFoundError: No module named 'summertime' #117

fabioperez opened this issue Aug 8, 2022 · 2 comments

Comments

@fabioperez
Copy link

fabioperez commented Aug 8, 2022

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.

@tristanreid
Copy link

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.

@YebowenHu
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants