PythonAnywhere Forums

Pythonanywhere chatterbot

Hi I'm trying to get the chatterbot example working on pythonanywhere. Completely new at this so bere with me please :)

Chatterbot django example is what I'm using as example to try it on my own site.

Now I copied all the files from the github into the exact spots in my PA web folder. In bash I pip installed django & chatterbot. when trying to python manage.py runserver I get import error:

  2017-03-19 20:17:57,833 :Error running WSGI application
2017-03-19 20:17:57,834 :ImportError: No module named chatterbot.ext
2017-03-19 20:17:57,834 :  File "/var/www/blckpstv_pythonanywhere_com_wsgi.py", line 25, in <module>
2017-03-19 20:17:57,834 :    application = get_wsgi_application()
2017-03-19 20:17:57,834 :
2017-03-19 20:17:57,834 :  File "/usr/local/lib/python2.7/dist-packages/django/core/wsgi.py", line 13, in  get_wsgi_application
2017-03-19 20:17:57,834 :    django.setup(set_prefix=False)
2017-03-19 20:17:57,834 :
2017-03-19 20:17:57,834 :  File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 27, in setup
2017-03-19 20:17:57,834 :    apps.populate(settings.INSTALLED_APPS)
2017-03-19 20:17:57,834 :
2017-03-19 20:17:57,834 :  File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate
2017-03-19 20:17:57,834 :    app_config = AppConfig.create(entry)
2017-03-19 20:17:57,834 :
2017-03-19 20:17:57,834 :  File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 116, in create
2017-03-19 20:17:57,834 :    mod = import_module(mod_path)

Anybody who can help me figuring out how to get this project online? Or show me other/better examples to fix this.

Kind regards!!

Immediately after that stacktrace in your logs is a link to a page to help you to diagnose that exception. Have you been through the process? What was the result?