In https://groups.google.com/forum/#!topic/google-appengine/D_upGqj4zMY, 
Stewart 
Reichling says: 
   
   - for Python 3.7, we recommend using Python's idiomatic development 
   practices, as listed on this page 
   
<https://cloud.google.com/appengine/docs/standard/python3/testing-and-deploying-your-app>

In my local environment I've created a python 3.7 virtual environment and 
installed Flask and successfully run the hello world app from

python-docs-samples/appengine/standard_python37/hello_world


But when I do a gcloud app deploy, it gives the error:

Beginning deployment of service [default]...
╔════════════════════════════════════════════════════════════╗
╠═ Uploading 0 files to Google Cloud Storage                ═╣
╚════════════════════════════════════════════════════════════╝
File upload done.
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [7] Access Not Configured. Cloud 
Build has not been used in project ham-50532 before or it is disabled. 
Enable it by visiting 
https://console.developers.google.com/apis/api/cloudbuild.googleapis.com/overview?project=ham-50532
 
then retry. If you enabled this API recently, wait a few minutes for the 
action to propagate to our systems and retry.


Going to the console it says billing needs to be enabled. That has never 
happened to any other apps I've deployed to the standard environment.  
 What other settings are needed to run hello_world in the standard 
environment with free quotas?  I've updated my local Google Cloud SDK to 
version 218.0.0, and I get the identical error when I try to deploy the 
same files from cloudshell.

Also, the hello_world app.yaml says "runtime: python37", but the cloudshell 
virtualenv in /usr/local/bin creates a python 3.5.3 environment.   Where is 
the cloudshell python37 installation located, from which a "python -m venv" 
command can be used to create a 3.7 environment?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/91511eb5-e6b1-45bc-87d7-5788cc9971f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to