No module named flask using virtualenv

前端 未结 12 1422
生来不讨喜
生来不讨喜 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:25

    I had this same problem on three Raspberry Pi units at the same time; beat my head against the wall trying to fix it for several hours (reinstall flask via pip, apt and aptitude - no joy).

    Instead of:

    pip install flask
    

    I finally tried:

    pip install Flask
    

    Worked like a charm.

提交回复
热议问题