No module named flask using virtualenv

前端 未结 12 1387
生来不讨喜
生来不讨喜 2020-12-29 22:42

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

12条回答
  •  死守一世寂寞
    2020-12-29 23:14

    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

提交回复
热议问题