【发布时间】:2021-12-28 14:35:58
【问题描述】:
我正在关注本教程:link
这是我使用的谷歌云版本:
(venv) C:\Users\user\Desktop\python-docs-samples\appengine\standard_python3\django>gcloud --version
Google Cloud SDK 367.0.0
bq 2.0.72
core 2021.12.10
gsutil 5.5
在部署过程中,我收到以下错误:
(venv) C:\Users\user\Desktop\python-docs-samples\appengine\standard_python3\django>gcloud app deploy
Initializing App Engine resources...failed.
ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred while creating a Google Cloud Storage bucket.
我从各种来源进行了搜索,他们建议运行这个:
gcloud config set app/use_deprecated_preparation True
但是当我运行时出现错误:
(venv) C:\Users\user\Desktop\python-docs-samples\appengine\standard_python3\django>gcloud config set app/use_deprecated_preparation True
ERROR: (gcloud.config.set) Section [app] has no property [use_deprecated_preparation].
我在项目目录文件夹中运行它。
谁能帮帮我?
【问题讨论】:
-
为了隔离潜在问题,您能否尝试从理想情况下的 Cloud Shell 执行此部署?否则,具有不同环境的不同计算机就足够了
-
你能解决这个问题吗?
标签: python django google-app-engine deployment gcloud