Open activatedgeek opened 6 years ago
Few more details:
setup.py requires google-api-python-client, which depended on oauth2client in past.
However, oauth2client is now deprecated (substituted by google-auth) and google-api-python-client does not depend on it anymore (it requires google-auth, uritemplate, google-auth-httplib2, httplib2, six
).
Thus, I think the code in tensor2tensor/utils/cloud_mlengine.py
should be updated to use only the non-deprecated API from google-api-python-client
.
I also ran into this error and would like to see a fix since it impacts uses of tensor2tensor that have no references to CMLE.
Perfect !
Current fix is to add oauth2client
to the deps (will have a new release out shortly) but we should move away from it because it's deprecated.
Description
The requirements are missing
oauth2client
as a dependency.pip install tensor2tensor
does not install it, nor it has been specified insetup.py
.Environment information
For bugs: reproduction and error logs
Potential Fix
or add it to setup.py#L34