

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_ These errors are immediately shown when I launch Python Console I don't even get a cursor.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_ ImportError: cannot import name 'IntFlag' from 'enum' (/Users//google-cloud-sdk/platform/google_appengine/lib/grpcio-1.9.1/enum/_init_.py)Īs the console notes, there is no IntFlag object in 'enum'. Selecting /Users//google-cloud-sdk/platform/google_appengine seems to get me a bit further, but still yields an error: Traceback (most recent call last):įile "/Users//Library/Application Support/JetBrains/Toolbox/apps/P圜harm-P/ch-0/191.6605.12/P圜harm.app/Contents/helpers/pydev/_pydev_comm/rpc.py", line 1, in įile "/Library/Frameworks/amework/Versions/3.7/lib/python3.7/socket.py", line 53, in ModuleNotFoundError: No module named 'googlecloudsdk' Selecting /Users//google-cloud-sdk yields this error: Traceback (most recent call last):įile "/Users//Library/Application Support/JetBrains/Toolbox/apps/P圜harm-P/ch-0/191.6605.12/P圜harm.app/Contents/helpers/pydev/pydevconsole.py", line 5, in įrom _pydev_comm.rpc import make_rpc_client, start_rpc_server, start_rpc_server_and_make_clientįile "/Users//Library/Application Support/JetBrains/Toolbox/apps/P圜harm-P/ch-0/191.6605.12/P圜harm.app/Contents/helpers/pydev/_pydev_comm/rpc.py", line 4, in įrom _pydev_rver import TSingleThreadedServerįile "/Users//Library/Application Support/JetBrains/Toolbox/apps/P圜harm-P/ch-0/191.6605.12/P圜harm.app/Contents/helpers/pydev/_pydev_comm/server.py", line 4, in įrom _shaded_rver import TServerįile "/Users//Library/Application Support/JetBrains/Toolbox/apps/P圜harm-P/ch-0/191.6605.12/P圜harm.app/Contents/helpers/third_party/thriftpy/_shaded_thriftpy/server.py", line 5, in įile "/Users//google-cloud-sdk/lib/surface/logging/_init_.py", line 22, in

P圜harm's documentation instructed me to select the App Engine SDK directory under Languages & Frameworks > Google App Engine. gcloud components list shows the app-engine-python component is installed, which is probably irrelevant since I'm using a venv in P圜harm.

Google Cloud SDK v241.0.0 is installed at /Users//google-cloud-sdk, and gcloud commands work in the terminal.
#PYTHON VERSION OF GOOGLE APP ENGINE SDK INSTALL#
Initially tried pip install google-appengine and pip install appengine-sdk, only to discover neither could be installed on my venv. I'm sure it will work once my app is deployed (famous last words?), but I'd love to get it working locally too. Having problems trying to follow this post, which requires the following import:įor the life of me, I cannot seem to get this import working. A version of my app is already deployed using App Engine Flexible, and I want the next version to use Datastore for my production environment variables.
#PYTHON VERSION OF GOOGLE APP ENGINE SDK PRO#
Using P圜harm Pro 2019.1.1 on MacOS, writing my app in Python 3 w/Flask, Jinja2, etc.
