python -m chatterbot --version
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/chatterbot/__main__.py", line 8, in <module>
print(chatterbot.__version__)
AttributeError: 'module' object has no attribute '__version__'
@yazdat
to get the version number try:
import chatterbot
chatterbot.__version__
This should possibly result in an outcome like:
'0.6.0'
`Even after @gabru-md suggestion didn't worked, try to pip install chatterbot If it is Linux flavor try to sudo pip install chatterbot
Thanks for the response gabru-md and vkosuri.
import chatterbot
chatterbot.__version__
worked fine. I am running 0.6.1
I'm experimenting with chatterbot to use on a robot. I'm sure I will have more questions. I hope to contribute where I can.
even for me this python -m chatterbot --version at beginning then I used chatterbot.__version__ to find my version ...
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Thanks for the response gabru-md and vkosuri.
import chatterbot
chatterbot.__version__
worked fine. I am running 0.6.1
I'm experimenting with chatterbot to use on a robot. I'm sure I will have more questions. I hope to contribute where I can.