Fixed
Status Update
Comments
ga...@google.com <ga...@google.com> #2
Hello,
Thank you very much for letting us know. I understand that you have Python and Cloud SDK installed within directories in Windows OS where the full path contains spaces. Then you noticed that Cloud SDK wouldn't find properly the Python being installed and the gcloud commands wouldn't function properly.
I have reproduced the issue and indeed the Python installation was not properly detected while I can confirm that it is installed and working as expected. I have contacted the Cloud SDK engineering team and informed them about this issue. I don't have an ETA on the resolution of this issue, however, please keep following this thread ans any further updates will be posted directly here.
Thank you very much for letting us know. I understand that you have Python and Cloud SDK installed within directories in Windows OS where the full path contains spaces. Then you noticed that Cloud SDK wouldn't find properly the Python being installed and the gcloud commands wouldn't function properly.
I have reproduced the issue and indeed the Python installation was not properly detected while I can confirm that it is installed and working as expected. I have contacted the Cloud SDK engineering team and informed them about this issue. I don't have an ETA on the resolution of this issue, however, please keep following this thread ans any further updates will be posted directly here.
cm...@google.com <cm...@google.com> #3
I am also facing the same issue, I wanted to deploy my Django (Python) web app on google cloud but cloud SDK itself not getting installed on my machine. Getting Below error:
Output folder: C:\Users\Mangesh\AppData\Local\Google\CloudSDK
Downloading Google Cloud SDK core.
Extracting Google Cloud SDK core.
Create Google Cloud SDK bat file: C:\Users\Mangesh\AppData\Local\Google\CloudSDK\cloud_env.bat
Installing components.
Welcome to the Google Cloud SDK!
To use the Google Cloud SDK, you must have Python installed and on your PATH.
As an alternative, you may also set the CLOUDSDK_PYTHON environment variable
to the location of your Python executable.
Failed to install.
However I have Python at my path and even CLOUDSDK_PYTHON variable available. Other way Python is working fine for me and its getting detected by applications.
Please assist.
Output folder: C:\Users\Mangesh\AppData\Local\Google\CloudSDK
Downloading Google Cloud SDK core.
Extracting Google Cloud SDK core.
Create Google Cloud SDK bat file: C:\Users\Mangesh\AppData\Local\Google\CloudSDK\cloud_env.bat
Installing components.
Welcome to the Google Cloud SDK!
To use the Google Cloud SDK, you must have Python installed and on your PATH.
As an alternative, you may also set the CLOUDSDK_PYTHON environment variable
to the location of your Python executable.
Failed to install.
However I have Python at my path and even CLOUDSDK_PYTHON variable available. Other way Python is working fine for me and its getting detected by applications.
Please assist.
ga...@google.com <ga...@google.com> #4
I have the same problem.
https://issuetracker.google.com/issues/146458535
== gcloud.cmd L.104
!CLOUDSDK_PYTHON! -c "import sys; print(sys.version)" >nul 2>&1
==
This line fails because the command part of the line is not quoted.
I think that Probably program name have to be quoted.
==
"!CLOUDSDK_PYTHON!" -c "import sys; print(sys.version)" >nul 2>&1
==
== gcloud.cmd L.104
!CLOUDSDK_PYTHON! -c "import sys; print(sys.version)" >nul 2>&1
==
This line fails because the command part of the line is not quoted.
I think that Probably program name have to be quoted.
==
"!CLOUDSDK_PYTHON!" -c "import sys; print(sys.version)" >nul 2>&1
==
Description
Unable to instantiate activity ComponentInfo{com.example.gavra.daggersample/com.example.gavra.daggersample.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.gavra.daggersample.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.gavra.daggersample-L1dIBfRL5YgiUAt01CrCcA==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.gavra
It seems to be a packaging issue.