No module named flask using virtualenv
flask, python, virtualenv
Solution
Make sure your virtualenv is activated. Then You check on the `PYTHONPATH` of that virtualenv. Is there a flask package (folder) installed in that directory.
If you unsure whether you have installed flask, just run the following command to see all the packages you have installed `pip list` or `pip show flask`. Do you see flask there? If not you can run `pip install flask`
Problem
I am following these steps to learn flask http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world/page/0#comments I ran this command to create the virtual env: ``` python virtualenv.py flask ``` When I try to start flask using the python.exe file in my project scripts directory, it says ``` No module named flask ``` My PATH is set to the python directory that virtualenv installed. Why is it not able to find flask? I initially started with the official Flask quickstart guide and was able to get the webserver to run, but with this virtual env install it is not working.