I'm getting an error when starting my application:
Error running WSGI application
2018-10-26 14:14:50,266: ModuleNotFoundError: No module named 'mysql'
2018-10-26 14:14:50,267: File "/var/www/frdhont_pythonanywhere_com_wsgi.py", line 16, in <module>
2018-10-26 14:14:50,267: from main import app as application # noqa
2018-10-26 14:14:50,267:
2018-10-26 14:14:50,268: File "/home/frdhont/mysite/main.py", line 7, in <module>
2018-10-26 14:14:50,268: from functions import User, Model, validate_new_model_fields
2018-10-26 14:14:50,268:
2018-10-26 14:14:50,268: File "/home/frdhont/mysite/functions.py", line 4, in <module>
2018-10-26 14:14:50,268: import mysql.connector
Full log files: https://www.pythonanywhere.com/user/frdhont/files/var/log/frdhont.pythonanywhere.com.error.log
I have checked pip install for mysql and mysqlclient in my virtual environment (I'm running Python 3.6), and they are both installed. I've even uninstalled and reinstalled them.
I've searched through the specific support page (https://help.pythonanywhere.com/pages/DebuggingImportError/), but no success.
Any tips?