* follow the instructions at: Earth Engine APIĬp -r ee ~/Downloads/earthengine-api-c66a3384c26e/python/examples/AppEngine/hello_world/ httplib2Ĭp -r httplib2/python2/httplib2 ~/Downloads/earthengine-api-c66a3384c26e/python/examples/AppEngine/hello_world/ pycrypto (even if already installed installed) Installation of Dependencies oauth2clientĬp -r google-api-python-client/oauth2client ~/Downloads/earthengine-api-c66a3384c26e/python/examples/AppEngine/hello_world/ Earth Engine API (if not already installed) Let's deal with the dependencies together: You need to take care of those first! (That tripped me up!)Ĭd ~/Downloads/earthengine-api-c66a3384c26e/python/examples/AppEngine/hello_world ![]() NOTE: the dependencies are listed at the bottom of the README file. Read everything carefully BEFORE you start doing anything! Find and read the README.txt file CAREFULLY! Then come back to here when you feel ready 1. If you are intimidated by "Hard", try this easy version first, Hello World (Easy) This is the example we are going to implement here. Python3 $CLOUD_SDK_ROOT/bin/dev_appserver.Google Earth Engine/App Engine Hello World example Ssh: Įxport CLOUDSDK_DEVAPPSERVER_PYTHON=/usr/bin/python2.7 User Config Directory: Īctive Configuration Path: ĭisable_usage_reporting: (property file) Sudo apt-get install google-cloud-cli-datastore-emulator Sudo apt-get install google-cloud-cli-app-engine-python-extras Sudo apt-get install google-cloud-cli-app-engine-python Sudo apt-get install apt-transport-https ca-certificates gnupgĮcho "deb cloud-sdk main" | sudo tee -a /etc/apt//google-cloud-sdk.listĬurl | sudo apt-key -keyring /usr/share/keyrings/ add. python 2 was not installed separately, as it gets installed by gcloud python 3 as comes with ubuntu, version 3.10.6 google appengine standard environment, python3.10 Raise exception('%s must not be empty.' % name) ValidateString(app, 'app', datastore_errors.BadArgumentError)įile "/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/api/datastore_types.py", line 186, in ValidateString Self._app = datastore_types.ResolveAppId(_app)įile "/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/api/datastore_types.py", line 238, in ResolveAppId Return sorted()įile "/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/ext/db/_init_.py", line 2077, in runįile "/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/ext/db/_init_.py", line 2482, in _get_queryįile "/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/api/datastore.py", line 1371, in _init_ Return self.handle_exception(e, )įile "/usr/lib/google-cloud-sdk/platform/google_appengine/lib/webapp2/webapp2/_init_.py", line 586, in dispatchįile "/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", line 661, in getįile "/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", line 597, in _get_kinds Super(AdminRequestHandler, self).dispatch()įile "/usr/lib/google-cloud-sdk/platform/google_appengine/lib/webapp2/webapp2/_init_.py", line 588, in dispatch Return route.handler_adapter(request, response)įile "/usr/lib/google-cloud-sdk/platform/google_appengine/lib/webapp2/webapp2/_init_.py", line 1094, in _call_įile "/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/admin_request_handler.py", line 88, in dispatch Rv = (request, response)įile "/usr/lib/google-cloud-sdk/platform/google_appengine/lib/webapp2/webapp2/_init_.py", line 1270, in default_dispatcher Rv = self.handle_exception(request, response, e)įile "/usr/lib/google-cloud-sdk/platform/google_appengine/lib/webapp2/webapp2/_init_.py", line 1520, in _call_ ![]() The server has either erred or is incapable of performing the requested operation.įile "/usr/lib/google-cloud-sdk/platform/google_appengine/lib/webapp2/webapp2/_init_.py", line 1526, in _call_
0 Comments
Leave a Reply. |