<Google Cloud Platform> ごっちゃかも、、
msys2
にGoogle Cloud SDK
を入れたんだが、
gcloud init
の挙動が下記と異なる。
なんとなく、、、
最初にWindows
版を入れたのが足を引っ張ってるっぽい。
config
が、~/.config
でなくて、
% cd google-cloud-sdk/ bin/ help/ lib/ path.zsh.inc README completion.bash.inc install.bat LICENSE platform/ RELEASE_NOTES completion.zsh.inc install.sh* path.bash.inc properties % cd bin bootstrapping/ gcloud* git-credential-gcloud.cmd sdk/ bq* gcloud.cmd git-credential-gcloud.sh* dev_appserver.py* gcloud-ps.ps1 gsutil* % source activate py27 py27 % ./gcloud info which: no python2 in (/C/Anaconda3/envs/py27:/C/Anaconda3/envs/py27/Library/mingw-w64/bin:/C/Anaconda3/envs/py27/Library/usr/bin:/C/Anaconda3/envs/py27/Library/bin:/C/Anaco:/home/Nekoyuki/.zplug/bin:/c/\Program Files (x86)/Google/Chrome/Application:/c/Go/bin:/c/Anaconda3:/c/Anaconda3/Scripts:/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl) which: no python2.7 in (/C/Anaconda3/envs/py27:/C/Anaconda3/envs/py27/Library/mingw-w64/bin:/C/Anaconda3/envs/py27/Library/usr/bin:/C/Anaconda3/envs/py27/Library/bin:/C/Ana:/home/Nekoyuki/.zplug/bin:/c/\Program Files (x86)/Google/Chrome/Application:/c/Go/bin:/c/Anaconda3:/c/Anaconda3/Scripts:/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl) Google Cloud SDK [121.0.0] Platform: [Windows, x86_64] Python Version: [2.7.12 |Continuum Analytics, Inc.| (default, Jun 29 2016, 11:07:13) [MSC v.1500 64 bit (AMD64)]] Python Location: [C:\Anaconda3\envs\py27\python.exe] Site Packages: [Disabled] Installation Root: [C:\msys64\home\Nekoyuki\google-cloud-sdk] Installed Components: core: [2016.08.05] app-engine-python: [1.9.38] core-nix: [2016.08.05] core-win: [2016.08.05] gcloud: [] windows-ssh-tools: [2016.05.13] gsutil-nix: [4.20] gsutil: [4.20] bq: [2.0.24] bq-nix: [2.0.24] System PATH: [C:\Anaconda3\envs\py27;C:\Anaconda3\envs\py27\Library\mingw-w64\bin;C:\Anaconda3\envs\py27\Library\usr\bin;C:\Anaconda3\envs\py27\Library\bin;C:\Anaconda3\env;C:\msys64\home\Nekoyuki\.zplug\bin;C:\Program Files (x86)\Google\Chrome\Application;C:\Go\bin;C:\Anaconda3;C:\Anaconda3\Scripts;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\usr\bin;C:\msys64\opt\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\msys64\usr\bin\site_perl;C:\msys64\usr\bin\vendor_perl;C:\msys64\usr\bin\core_perl] Cloud SDK on PATH: [False] Installation Properties: [C:\msys64\home\Nekoyuki\google-cloud-sdk\properties] User Config Directory: [C:\Users\Nekoyuki\AppData\Roaming\gcloud] Active Configuration Name: [default] Active Configuration Path: [C:\Users\Nekoyuki\AppData\Roaming\gcloud\configurations\config_default] Account: [hagehage@gmail.com] Project: [None] Current Properties: [core] account: [hagehage@gmail.com] disable_usage_reporting: [False] Logs Directory: [C:\Users\Nekoyuki\AppData\Roaming\gcloud\logs] Last Log File: [C:\Users\Nekoyuki\AppData\Roaming\gcloud\logs\2016.11.19\11.36.28.968000.log]
となって、AppData\Roaming
の下にある。。。
なんとなく、ぐっちゃになってしまったのかも。。。
ただ、動いているから、いいかな、、、
msys2
上の方が使いやすいし。