latitudegames / AIDungeon

Infinite adventures await!
http://www.aidungeon.io/
MIT License
3.18k stars 556 forks source link

Error when hitting play #180

Closed zellgoma closed 4 years ago

zellgoma commented 4 years ago

I get an error when I hit play, specifically "ModuleNotFoundError: No module named 'regex._regex'; 'regex' is not a package"

I'm probably just doing something stupid, but I can't figure out what to do.

Full log from hitting play: Traceback (most recent call last): File "play.py", line 6, in from generator.gpt2.gpt2_generator import * File "/content/AIDungeon/generator/gpt2/gpt2_generator.py", line 7, in from generator.gpt2.src import encoder, model, sample File "/content/AIDungeon/generator/gpt2/src/encoder.py", line 7, in import regex as re File "/content/AIDungeon/venv/lib/python3.6/site-packages/regex.py", line 402, in import _regex_core File "/content/AIDungeon/venv/lib/python3.6/site-packages/_regex_core.py", line 21, in import regex._regex as _regex ModuleNotFoundError: No module named 'regex._regex'; 'regex' is not a package

SoptikHa2 commented 4 years ago

Duplicate of #179