my flask app does not load an installed module. How can I fix that? Here is what I did:
1) Go to bash console
2) workon my-virtualenv
3) pip install Flask-Cors
4) Go to mysite/flask_app.py
5) Add from flask_cors import CORS, cross_origin
6) Run app
7) Getting result:
Traceback (most recent call last):
File "/home/ehlersanalytics/mysite/flask_app.py", line 5, in <module>
from flask_cors import CORS, cross_origin
ModuleNotFoundError: No module named 'flask_cors'
Hi guys,
got a similar problem now that wasn't fixed by the shebang. I have installed keras and verified that it is really there in the virtualenv (see below). But when I import it I get the error below stating that the module was not found. What am I missing here?
Sorry, we have had to rate-limit your feedback sending. Please try again in a few moments...
Thanks for the feedback! Our tireless devs will get back to you soon.