You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, my name is peter and I'm new to python.
I got some errors when I tried to run the simple example after I installed chatterbot. could please advise how can I fix the problem?
the errors are shown below:
Traceback (most recent call last):
File "D:\test.py", line 5, in
chatbot = ChatBot('Charlie')
File "D:\Python\lib\site-packages\chatterbot\chatterbot.py", line 28, in init
self.storage = utils.initialize_class(storage_adapter, **kwargs)
File "D:\Python\lib\site-packages\chatterbot\utils.py", line 33, in initialize_class
return Class(*args, **kwargs)
File "D:\Python\lib\site-packages\chatterbot\storage\sql_storage.py", line 20, in init
super().init(**kwargs)
File "D:\Python\lib\site-packages\chatterbot\storage\storage_adapter.py", line 23, in init
'tagger_language', languages.ENG
File "D:\Python\lib\site-packages\chatterbot\tagging.py", line 26, in init
self.nlp = spacy.load(self.language.ISO_639_1.lower())
File "D:\Python\lib\site-packages\spacy_init_.py", line 27, in load
return util.load_model(name, **overrides)
File "D:\Python\lib\site-packages\spacy\util.py", line 139, 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.
The text was updated successfully, but these errors were encountered:
hi, my name is peter and I'm new to python.
I got some errors when I tried to run the simple example after I installed chatterbot. could please advise how can I fix the problem?
the errors are shown below:
Traceback (most recent call last):
File "D:\test.py", line 5, in
chatbot = ChatBot('Charlie')
File "D:\Python\lib\site-packages\chatterbot\chatterbot.py", line 28, in init
self.storage = utils.initialize_class(storage_adapter, **kwargs)
File "D:\Python\lib\site-packages\chatterbot\utils.py", line 33, in initialize_class
return Class(*args, **kwargs)
File "D:\Python\lib\site-packages\chatterbot\storage\sql_storage.py", line 20, in init
super().init(**kwargs)
File "D:\Python\lib\site-packages\chatterbot\storage\storage_adapter.py", line 23, in init
'tagger_language', languages.ENG
File "D:\Python\lib\site-packages\chatterbot\tagging.py", line 26, in init
self.nlp = spacy.load(self.language.ISO_639_1.lower())
File "D:\Python\lib\site-packages\spacy_init_.py", line 27, in load
return util.load_model(name, **overrides)
File "D:\Python\lib\site-packages\spacy\util.py", line 139, 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.
The text was updated successfully, but these errors were encountered: