I\'m trying to get a Flask app running on AWS EC2 (standard Ubuntu AMI) through an Apache2 Webserver. My app internally uses Numpy. I have tested the following:
numpy via pip is not installed at /home/ubuntu/.local/lib/python2.7/site-packages but it should be at /home/ubuntu/.local/lib64/python2.7/site-packages or something like that.
Just try add another site.addsitedir in your app.wsgi to that folder should work. Something like this :
site.addsitedir('/home/ubuntu/.local/lib64/python2.7/site-packages')