Can't import Flask while using Google App Engine

前端 未结 5 546
闹比i
闹比i 2021-01-01 04:12

I\'m following this guide and trying to develop a Flask app to run on the Google App Engine. I followed the guide to the letter but when I launch the dev app server from the

5条回答
  •  感动是毒
    2021-01-01 04:31

    Do you have Extra Libraries component for Python installed? It can be installed with

    gcloud components install app-engine-python-extras

    After installing this extra library you should be able to use built-in flask library without a problem. For more information, refer to this page

    Source

提交回复
热议问题