Difference between revisions of "GSUTIL command error with Python module"
(Created page with "== Problem == <p> Error occur during execute command : <sup>sudo gsutil -m mv /home/user/appl/SG-infinite-20*.zip gs://sg-storage</sup> </p> <pre> Traceback (most recent call...") |
(→Problem) |
||
Line 1: | Line 1: | ||
== Problem == | == Problem == | ||
<p> | <p> | ||
− | Error occur during execute command : < | + | Error occur during execute command : <pre>sudo gsutil -m mv /home/user/appl/SG-infinite-20*.zip gs://sg-storage</pre> |
</p> | </p> | ||
<pre> | <pre> |
Revision as of 20:09, 10 August 2022
Problem
Error occur during execute command :
sudo gsutil -m mv /home/user/appl/SG-infinite-20*.zip gs://sg-storage
Traceback (most recent call last): File "/usr/lib/google-cloud-sdk/platform/gsutil/gsutil", line 21, in <module> gsutil.RunMain() File "/usr/lib/google-cloud-sdk/platform/gsutil/gsutil.py", line 150, in RunMain import gslib.__main__ File "/usr/lib/google-cloud-sdk/platform/gsutil/gslib/__main__.py", line 53, in <module> import boto File "/usr/lib/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/boto/__init__.py", line 1216, in <module> boto.plugin.load_plugins(config) File "/usr/lib/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/boto/plugin.py", line 93, in load_plugins _import_module(file) File "/usr/lib/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/boto/plugin.py", line 75, in _import_module return imp.load_module(name, file, filename, data) File "/usr/lib/google-cloud-sdk/platform/bundledpythonunix/lib/python3.9/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/google-cloud-sdk/platform/bundledpythonunix/lib/python3.9/imp.py", line 171, in load_source module = _load(spec) File "/usr/share/google/boto/boto_plugins/compute_auth.py", line 18, in <module> import urllib2 ModuleNotFoundError: No module named 'urllib2'