I setup virutalenv in home directory and mentioned the same in web tab. I can my app from console. but not through wsgi
Here is traceback
2016-03-26 15:13:04,391 :Traceback (most recent call last):
2016-03-26 15:13:04,391 : File "/bin/user_wsgi_wrapper.py", line 138, in __call__
2016-03-26 15:13:04,392 : self.error_log_file.logger.exception("Error running WSGI application")
2016-03-26 15:13:04,392 : File "/usr/lib/python2.7/logging/__init__.py", line 1185, in exception
2016-03-26 15:13:04,392 : self.error(msg, *args, **kwargs)
2016-03-26 15:13:04,392 : File "/usr/lib/python2.7/logging/__init__.py", line 1178, in error
2016-03-26 15:13:04,392 : self._log(ERROR, msg, args, **kwargs)
2016-03-26 15:13:04,392 : File "/usr/lib/python2.7/logging/__init__.py", line 1270, in _log
2016-03-26 15:13:04,393 : record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
2016-03-26 15:13:04,393 : File "/usr/lib/python2.7/logging/__init__.py", line 1244, in makeRecord
2016-03-26 15:13:04,393 : rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
2016-03-26 15:13:04,393 : File "/usr/lib/python2.7/logging/__init__.py", line 284, in __init__
2016-03-26 15:13:04,393 : self.threadName = threading.current_thread().name
2016-03-26 15:13:04,393 : File "/usr/lib/python2.7/threading.py", line 1160, in currentThread
2016-03-26 15:13:04,394 : return _active[_get_ident()]
2016-03-26 15:13:04,394 : File "/bin/user_wsgi_wrapper.py", line 130, in __call__
2016-03-26 15:13:04,394 : app_iterator = self.app(environ, start_response)
2016-03-26 15:13:04,394 : File "/bin/user_wsgi_wrapper.py", line 144, in import_error_application
2016-03-26 15:13:04,394 : raise e
2016-03-26 15:13:04,394 :ImportError: No module named flask
[edit by admin: formatting]