I am trying to use google storage lib but I am getting an error when I call gsutil...
Installed gsutil with pip:
pip install gsutil
my current python version is 3.5
when I run gsutil
from command line I get the bellow error:
class AbortException(StandardError): NameError: name 'StandardError' is not defined
Not sure how to workaround this issue... any ideas?
EDIT: Looks like it works fine using python 3.4 despite they say it's not supported on 3x...
gsutil is a Python application that lets you access Cloud Storage from the command line. You can use gsutil to do a wide range of bucket and object management tasks, including: Creating and deleting buckets. Uploading, downloading, and deleting objects.
Gsutil full configuration is available in the ~/. boto file. You can edit that file directly or via the gsutil config command.
Looks like now Python3 support exists:
pip3 install gsutil
worked for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With