Forums

JWT import error

I am getting the below error while running my bottle app. I am using pyjwt in my application. pyjwt seems already installed but not sure why getting this error.

2018-11-15 17:59:50,303: Error running WSGI application 2018-11-15 17:59:50,304: ModuleNotFoundError: No module named 'jwt' 2018-11-15 17:59:50,305: File "/var/www/trapi_pythonanywhere_com_wsgi.py", line 22, in <module> 2018-11-15 17:59:50,305: from main import app as application

Can anybody help?

Make sure you have it installed in the Python version / virtualenv that you're using for your web app.

Hi Glenn, thank you very much. It worked.

Excellent -- glad we could help!