flask+uwsgi+nginx+centos error import module numpy
I've run into this while running projects under uWSGI that import numpy. There is some interaction between the default sub interpreters that uWSGIs uses and numpy's initialization.
You can tell uWSGI to not use sub interpreters in your config for uWSGI with the line:
single-interpreter = true
Where to add this will depend on how you configured uWSGI.