我想配置谷歌的存儲API的gsutil
命令行工具,但它似乎不喜歡它:谷歌存儲配置
ahmeds:~ ahmed$ gsutil config
CommandException: OAuth2 is only supported when running under Python 2.6 or later
(unless additional dependencies are installed, see README for details);
you are running Python 2.7.2 (default, Nov 25 2011, 23:36:16)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)].
Use 'gsutil config -a' to create a config with Developer Key authentication credentials.
什麼可能我是做錯了什麼?我需要重新安裝Python嗎?
是的,我然後得到'CommandException:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gslib/VERSION找不到。在完成gsutil「update」命令之後,您是否安裝了 完整的gsutil軟件?這同樣神奇。 – 2012-01-10 13:08:52
嘗試搜索gsutils的位置或嘗試再次安裝gsutil – gunzapper 2012-01-10 13:12:50