gana2188 / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

install.bat fails #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When trying to install google cloud sdk behind proxy from a zip, I getthis 
error message:

Traceback (most recent call last):
  File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\bootstrapping\ins
tall.py", line 357, in <module>
    main()
  File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\bootstrapping\ins
tall.py", line 333, in main
    Prompts(pargs.usage_reporting)
  File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\bootstrapping\ins
tall.py", line 89, in Prompts
    scope=properties.Scope.INSTALLATION)
  File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\bootstrapping\..\
..\lib\googlecloudsdk\core\properties.py", line 580, in PersistProperty
    with open(properties_file, 'w') as fp:
IOError: [Errno 13] Permission denied: 'C:\\Program Files\\Google\\Cloud SDK\\go
ogle-cloud-sdk\\properties'
Google Cloud SDK installer will now exit.
Press any key to continue . . .

enviroment variables
http_proxy and https_proxy have been set, don't know what to do next

Original issue reported on code.google.com by danceasa...@gmail.com on 28 Nov 2014 at 2:56

GoogleCodeExporter commented 9 years ago
Does your proxy require authentication?

Original comment by vil...@google.com on 1 Dec 2014 at 3:59

GoogleCodeExporter commented 9 years ago

Original comment by vil...@google.com on 1 Dec 2014 at 4:00

GoogleCodeExporter commented 9 years ago
yes it does, and I included it in the http_proxy env:
http://username:password@ip:port

Original comment by danceasa...@gmail.com on 10 Dec 2014 at 12:27

GoogleCodeExporter commented 9 years ago
This does not actually seem to be a proxy issue as you are getting a local 
permission denied error.  If you are trying to install into "Program Files" you 
likely need to run the install script from an admin shell.  If you don't want 
to do that, you can try installing the SDK into a directory you own.

Original comment by markp...@google.com on 11 Dec 2014 at 4:15