Sachin
Sachin

Reputation: 13

checking the version of chatter using python -m chatterbot --version.This is the error

python -m chatterbot --version Traceback (most recent call last): File "/opt/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/opt/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/opt/anaconda3/lib/python3.7/site-packages/chatterbot/main.py", line 20, in print(get_chatterbot_version()) File "/opt/anaconda3/lib/python3.7/site-packages/chatterbot/main.py", line 15, in get_chatterbot_version return config['chatterbot']['version'] File "/opt/anaconda3/lib/python3.7/configparser.py", line 958, in getitem raise KeyError(key) KeyError: 'chatterbot'

Upvotes: 1

Views: 570

Answers (1)

David Garcia Ricou
David Garcia Ricou

Reputation: 40

probably this will work for you:

git clone https://github.com/gunthercox/ChatterBot.git 
python3 setup.py install

Sources:

https://github.com/gunthercox/ChatterBot/issues/1940

Hope it help, have a nice day,

David.

Upvotes: 0

Related Questions