Missing dependency six: object has no attribute 'python_2_unicode_compatible' #3880
Labels
packaging
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
I am using a dataproc cluster where the workers have google-cloud-python installed. I recently deployed a new cluster, which pulled the latest version of this library (1.4.0). My workers when doing
from google.cloud import storage
now fail with the following error:Which is probably because there is no
six
package declared in the dependencies of this project?A workaround is to ensure that six==1.10.0 is installed (I don't know exactly which version introduced the attribute
python2_unicode_compatible
).This is the information of the system where the bug occurs:
Here is a working pip freeze:
The text was updated successfully, but these errors were encountered: