Hi all, I am a beginner python programmer. I am trying to deploy a Flask webpage with Auth0 authentication. I started to follow the description on Auth0's page, but I keep receiving this error message:
2017-11-23 20:22:42,008: Error running WSGI application 2017-11-23 20:22:42,049: ModuleNotFoundError: No module named 'dotenv' 2017-11-23 20:22:42,049: File "/var/www/ecokarst_pythonanywhere_com_wsgi.py", line 16, in <module> 2017-11-23 20:22:42,049: from flask_app import app as application 2017-11-23 20:22:42,049: 2017-11-23 20:22:42,049: File "/home/ecokarst/mysite/flask_app.py", line 7, in <module> 2017-11-23 20:22:42,050: from dotenv import load_dotenv, find_dotenv
Does anyone has an idea how to fix this issue?
I installed the "python-dotenv" module with pip (tried both normally and in a virtualenv) still I get the import error message.
I guess I should somehow edit my "ecokarst_pythonanywhere_com_wsgi.py" file, but cannot find any information to this.
Alternatively, does anyone has a working hello-world style example with Flask + Auth0 on PythonAnywhere?
Thanks in advance