-
Notifications
You must be signed in to change notification settings - Fork 263
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
error = english_bot.set_trainer(ChatterBotCorpusTrainer) AttributeError: 'ChatBot' object has no attribute 'set_trainer' #22
Comments
I'm getting the same issue on a fresh installation. imbrianp@ubuntu:~/flask-chatterbot$ python3 app.py |
Can you follow-up on my issue on the chatterbot git repo. The author indicated he couldn't identify the problem. |
Try with
|
I fixed this issue by change requirements.txt: |
That doesn't work for me. I'm getting an error while installing that dependency
That works fine 👍 |
I am getting these when i run it. please help me C:\Users\rgugg\PycharmProjects\flask-chatterbot\venv\Scripts\python.exe C:/Users/rgugg/PycharmProjects/flask-chatterbot/app.py Process finished with exit code 1 |
I'm seeing this problem as below.
no changes from the git repo, git clone, then pip install -r requirements.txt
it looks like a problem within the chatterbot git repo, which is weird.
reported similar problem on the chatterbot git repo yesterday, hoping someone might spot what is going on or replicate my problem.
my current platform: windows 10, have also seen this problem on ubuntu 16.04
checking the package versions
pip freeze | grep atter
ChatterBot==1.0.2
chatterbot-corpus==1.2.0
python app.py
[nltk_data] Downloading package averaged_perceptron_tagger to
[nltk_data] C:\Users\Matthew\AppData\Roaming\nltk_data...
[nltk_data] Package averaged_perceptron_tagger is already up-to-
[nltk_data] date!
[nltk_data] Downloading package punkt to
[nltk_data] C:\Users\Matthew\AppData\Roaming\nltk_data...
[nltk_data] Package punkt is already up-to-date!
[nltk_data] Downloading package stopwords to
[nltk_data] C:\Users\Matthew\AppData\Roaming\nltk_data...
[nltk_data] Package stopwords is already up-to-date!
Traceback (most recent call last):
File "app.py", line 9, in
english_bot.set_trainer(ChatterBotCorpusTrainer)
AttributeError: 'ChatBot' object has no attribute 'set_trainer'
The text was updated successfully, but these errors were encountered: