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

a problem occurred when I tried to run the example #2208

Open
samsam3215 opened this issue Oct 15, 2021 · 1 comment
Open

a problem occurred when I tried to run the example #2208

samsam3215 opened this issue Oct 15, 2021 · 1 comment

Comments

@samsam3215
Copy link

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.

@Diego448
Copy link

Please see this thread this is the fastest way to solve your issue

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

2 participants