Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I thought it need to be changed because some people (like me) will meet this error when run chatterbot. traceback like: ``` Traceback (most recent call last): File "c:/Users/cccc0/Documents/GitHub/Mieno/MienoBot/DiscordBot.py", line 3, in <module> from ChatterBot import BotCore File "c:\Users\cccc0\Documents\GitHub\Mieno\MienoBot\ChatterBot\BotCore.py", line 6, in <module> Mieno = ChatBot('Mieno') File "C:\Users\cccc0\AppData\Local\Programs\Python\Python37\lib\site-packages\chatterbot\chatterbot.py", line 28, in __init__ self.storage = utils.initialize_class(storage_adapter, **kwargs) File "C:\Users\cccc0\AppData\Local\Programs\Python\Python37\lib\site-packages\chatterbot\utils.py", line 33, in initialize_class return Class(*args, **kwargs) super().__init__(**kwargs) File "C:\Users\cccc0\AppData\Local\Programs\Python\Python37\lib\site-packages\chatterbot\storage\storage_adapter.py", line 21, in __init__ 'tagger_language', languages.ENG File "C:\Users\cccc0\AppData\Local\Programs\Python\Python37\lib\site-packages\chatterbot\tagging.py", line 13, in __init__ self.nlp = spacy.load(self.language.ISO_639_1.lower()) File "C:\Users\cccc0\AppData\Local\Programs\Python\Python37\lib\site-packages\spacy\__init__.py", line 30, in load return util.load_model(name, **overrides) File "C:\Users\cccc0\AppData\Local\Programs\Python\Python37\lib\site-packages\spacy\util.py", line 175, in load_model raise IOError(Errors.E050.format(name=name)) OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory. ```
- Loading branch information