Closed indraniel closed 5 years ago
Hi @indraniel!
The issue isn't a direct dependency of dsub
on this particular library, so I would not change setup.py
. The local
provider here is calling gsutil
to do some file copies and for some reason your gsutil
install has some issues.
There are a number of issues that have been seen with this problem with the gsutil
install:
https://github.com/travis-ci/travis-ci/issues/7940 https://github.com/travis-ci/travis-ci/issues/8182
I think the root of this is addressed here:
https://github.com/GoogleCloudPlatform/gsutil/issues/459
Boto automatically looks in certain locations (/etc/boto.cfg being one of them) and picks up those config files if present That config file tells Boto it should load the google_compute_engine package from somewhere outside the virtual environmen
do you have an /etc/boto.cfg
?
Thanks!
Yes, I do have an /etc/boto.cfg
file. I was installing dsub
in a virtualenv on a Google Compute Instance VM. That makes more sense now. Thanks again for the explanation @mbookman !
I'll go ahead and close this issue for now.
I've noticed an issue when installing
dsub
on my laptop. When I ran the example mentioned in the README:I got an error like so:
When I inspected the relevant log file, I noticed the following:
Upon running
pip install google-compute-engine
into my virtualenv, the issue went away. Should installing the python librarygoogle-compute-engine
be mentioned in the documentation, or added into thesetup.py
?