gcs-oauth2-boto-plugin 1.6打破了gsutil

时间:2014-06-10 16:26:56

标签: google-cloud-storage gsutil

如果我按照https://developers.google.com/storage/docs/gsutil_install#install_pypi

安装gsutil

然后gsutil失败并显示错误:

File "/usr/local/lib/python2.7/dist-packages/gslib/cs_api_map.py", line 17, in <module>
from gslib.gcs_json_api import GcsJsonApi
File "/usr/local/lib/python2.7/dist-packages/gslib/gcs_json_api.py", line 20, in <module>
from oauth2_plugin import oauth2_helper
ImportError: No module named oauth2_plugin

但是,如果我按照https://developers.google.com/storage/docs/gspythonlibrary安装,即

pip install gcs-oauth2-boto-plugin==1.5

然后它工作,并在python中找到oauth2_plugin

0 个答案:

没有答案