"ImportError: No module named flask" - Trouble with nginx + uWSGI + Flask in a virtualenv setup

Just add path to your virtual env to <pythonpath> in uwsgi's app_conf.xml file. eg:

<pythonpath>/srv/www</pythonpath>
<pythonpath>/home/user/env/lib/python2.6/site-packages</pythonpath>
<module>wsgi_configuration_module</module> 

the -H/--home/--virtualenv option does not expand the ~ symbol. Specify it as an absolute path and it should work.

The same apply to configfiles, so you would add

path_to_virtualenv