I used google compute engine from Google Cloud Platform , and I want to store my data in googles storage, so I used the gsutil to send data from compute engine to google storage
Before i updated python2.6.6 to python2.7, gsutil was working fine. But after update to 2.7
it took me lots of time...
P.S I use CenOS6.7
This worked for me:
vim /etc/boto.cfg
Find the directive where it says:
[Plugin]
plugin_directory = /usr/lib/python3/dist-packages/google_compute_engine/boto
And comment out the plugin_directory
by placing the #
at the start of the line:
[Plugin]
#plugin_directory = /usr/lib/python3/dist-packages/google_compute_engine/boto
Or, set the BOTO_CONFIG
environment variable in the same command:
BOTO_CONFIG=/dev/null gsutil <your command here> ...
I had exactly the same problem, and I solved it by removing boto settings:
sudo rm -f /etc/boto.cfg
This is related to this issue.
Can be solved by running export BOTO_CONFIG=/dev/null
before running gsutil
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