Error installing Google cloud SDK on Windows 10 - google-app-engine

Whenever I try installing the google cloud sdk, I get the following error:
Do you want to help improve the Google Cloud SDK (y/N)? n
ERROR: (gcloud.components.list) The provided path must exist.
Activate code page: 437
Google Cloud SDK installer will now exit.
I'm using the latest version (299.0.0) and python3. I've tried older versions too. I am not sure what the problem is here.

Related

AssertionError constantly appearing when I try to use on Google App Engine SDK

The following error keeps appearing whenever I try to do
dev_appserver.py app.yaml
File "/Users/monikap/Desktop/test-dir/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 95, in
assert sys.version_info[0] == 2
AssertionError
I have Python version 3.7 installed on my Mac
The development server still needs python 2 installed, even for python 3 apps, see Python 3.7 Local Development Server Options for new app engine apps
Python3 now has GA support on Cloud SDK.
I think you need to update your Cloud SDK with gcloud components update.

IntelliJ looking for appcfg.sh, but only appcfg.py exists

I'm creating an AppEngine webapp and would like to be able to deploy it from IntelliJ. However, the plugin fails to deploy because it's looking for appcfg.sh in the AppEngine SDK directory. That directory contains an appcfg.py file, but no .sh file. Is the plugin just out of date? Is there a work around?
Google Cloud SDK 249.0.0
app-engine-java 1.9.74
The appcfg.sh was (or maybe still is) available in the GAE-only Java SDK, but not in the gcloud SDK (click on Download and install the original App Engine SDK for Java. at the bottom of the Download Cloud SDK page).
The JetBrains tools are a bit behind in this regard (same applied to the last PyCharm Pro version I used - it supported the GAE Python SDK, not the gcloud one). Which is why I have both SDKs installed, using them alternatively as needed.
Notes:
at least in the PyCharm case only the Pro version had GAE support, the Community Edition didn't
the GAE SDKs are no longer actively kept at par with the gcloud SDK, some newer GAE features aren't available through them, so YMMV.

AppEngine appcfg.py complains about wrong version

I have updated the AppEngine SDK for Python on my Mac to version 1.9.74.266.
I need to update a Python 2.7 Standard Environment App via appcfg.py (which is called from a complex build script updating multiple App Engine applications) but I get the following error:
Error 401
Your version of the AppEngine SDK is out-of-date. Please update your SDK ...
But this is what I just did.
What's wrong?

Google App Engine Launcher (Python)

I am trying to run the Google App Engine Launcher. it pops up an error message saying that it cannot find the Python binary file. But I have downloaded and installed Python 2.7.8. The error message suggests me to modify the Python path in Edit-> Preference. But the Launcher is not responding, it just hangs on there for ever. What should I do?
You need to add python to the PATH Variable.
Refer to How to add to the pythonpath in windows 7?
Install Latest App Engine
https://cloud.google.com/sdk/?hl=en_US dowloand Google Cloud SDK install it then launch Google App Engine launcher --> Edit-->Preferences-->Python path--> new python should be installed probably under the drive C: then select Python27x86 -->pythonw.exe.

appcfg.py: error: no such option: --passin | after updating Google App Engine Launcher

Ive just upgraded the Google App Engine Launcher (for PHP) and now I'm getting this error message.
Any ideas what why that ocurred and how to fix it?
UPDATE1: right now it is only working in console like this:
"C:\Program Files (x86)\Google\google_appengine\appcfg.py" "update" "D:\route\to\application"
And I can't find the way to update the parameter in the Google Engine Launcher. Any thoughts?
UPDATE2: ok, it seems that the issue has to do with the migration to oAuth2. So, the new question is: how can I make the Google Engine no to use "--passin"? Because I uninstalled (and remove any trace of it) and then reinstalled, but it insist in using the "--passing" parameter, making it completely useless.
UPDATE3: the issue was that I was using Google SDK and updated the Engine using "GoogleAppEngine-1.9.24.msi". And it was not updating the shortcut, so I was still using some data from the SDK.
Solution: remove the Google Cloud SDK and install again. Then install the App Engine. And it worked.
Solution: remove the Google Cloud SDK and install again. Then install the App Engine. And it worked.

Resources