I would like to run bls module. I did "pip install bls --user" in the bash console and it seems to install fine. I’ve also tried “pip3.8 install bls –user” to make sure I’m using the same pip/python version as I’m running in my website. I get “requirement already satisfied”. But when I run my website I get this error
2020-07-27 10:02:46,924: Error running WSGI application
2020-07-27 10:02:46,925: ModuleNotFoundError: No module named 'bls'
2020-07-27 10:02:46,925: File "/var/www/costarica_pythonanywhere_com_wsgi.py", line 16, in <module>
2020-07-27 10:02:46,925: from flask_app import app as application # noqa
2020-07-27 10:02:46,925:
2020-07-27 10:02:46,925: File "/home/CostaRica/mysite/flask_app.py", line 3, in <module>
2020-07-27 10:02:46,926: from processing import getIndex
2020-07-27 10:02:46,926:
2020-07-27 10:02:46,926: File "/home/CostaRica/mysite/processing.py", line 1, in <module>
2020-07-27 10:02:46,926: import bls
It seems the website hasn’t found the bls module I thought I imported. Any advice?
I saw a couple of questions that were similar. That’s where I tried changing the pip version, but that doesn’t seem to solve it or I’m not correctly changing the pip/python version in my bash console.