C:\Program Files\Google\Cloud SDK\google-cloud-sdk>install_google_cloud_sdk.py --install-directory c:\GoogleCloudSDK
Traceback (most recent call last):
File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\install_google_cloud_sdk.py", line 98, in <module>
main()
File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\install_google_cloud_sdk.py", line 82, in main
archive_path = DownloadArchive(t, url)
File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\install_google_cloud_sdk.py", line 62, in DownloadArchive
req = urlopen(url)
File "C:\Python27\lib\urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 431, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 449, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 409, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1240, in https_open
context=self._context)
File "C:\Python27\lib\urllib2.py", line 1197, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
Is there anything strange or unusual about your Python installation, or installed certificates?
What happens if you run python.exe -c "from urllib2 import urlopen; urlopen('https://dl.google.com/dl/cloudsdk/channels/rapid/google-cloud-sdk.tar.gz')"
? Can you load that URL (i.e. https://dl.google.com/dl/cloudsdk/channels/rapid/google-cloud-sdk.tar.gz) in a browser? How about using cUrl, wget, or any equivalent?
--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-s...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-cloud-sdk.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/1066e93d-361d-4b4b-8f4a-86e950c31b52%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/9c670a2e-0df9-4f07-afd6-fa32d6c8e35d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/a8343fc4-a89e-4042-88e0-f94c29d3d354%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-s...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-cloud-sdk.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/f5947d9a-3453-4b78-93da-ca03f4b50458%40googlegroups.com.
Your path should contain C:\Python27
, not C:\Python27\python.exe
.
Another option is to set the system environment variable CLOUDSDK_PYTHON
to C:\Python27\python.exe
(not C:\Python27
:) )
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/252ef1b0-5114-4bb2-943c-3d50a720e157%40googlegroups.com.
(list->BCC, will CC back in if our solution to this issue is general)
Can you post the output of the following commands, run in a command prompt?
echo %CLOUDSDK_PYTHON%
echo %PATH%
python.exe --version
%CLOUDSDK_PYTHON% --version
Please sanitize for any personal information.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/a64cfe00-c32f-414a-894e-7df68d132751%40googlegroups.com.
This is a problem from the interaction between the OS and Python, and therefore largely out of the control of the installer. We’re looking into a couple of ways to smooth over this and reduce false positives, but if your Python installation is rejecting certificates from Google, that’s a security concern that we probably shouldn’t be ignoring.
Sorry to hear that you never got it working. In the future, you can always visit the Cloud Console, which has an “Activate Google Cloud Shell” button in the upper-right (for now; it may be moved). This will open a browser-based terminal to a shell running on a Google Cloud VM, with gcloud
installed.
--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-s...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-cloud-sdk.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/80a9b30a-c16a-438b-b4e3-1b48486599ce%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-s...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-cloud-sdk.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/d8ed66ed-d898-4df9-8631-f06e170ce84e%40googlegroups.com.