I started an empty Ubuntu (Ubuntu 14.04.3 LTS) workspace on cloud9. Python 2.7.6 was there by default. I installed python-pip and python-virtualenv (using apt-get).
Having created the smallest possible Flask application I've faced a problem: I get an import error if I press ide's Run button:
Update
The same problem here: https://community.c9.io/t/not-able-to-run-python-file-which-has-a-import-statement-for-flask-installed-via-virtualenv-py/6151
If I run the application from terminal by issuing python app.py then everything's fine:
Virtual environment is activated.
pip list shows
...
Flask (0.12) - it's there.
...
which python shows
/home/ubuntu/workspace/env/bin/python
What's wrong with my setup?

