From Oauth2client.service_account Import ServiceAccountCredentials : Cannot Import Name 'opentype'
I use python 3.6.0. I want to play with the Google Drive API. When I import oauth2client.service_account I get this error : Traceback (most recent call last): File 'test.py', li
Solution 1:
Consider upgrading your google-auth module
pip install --upgrade google-auth-oauthlib
and also the pyasn1_module, which is reponsible for implementation of ASN.1 types and codecs as a Python package
pip install --upgrade pyasn1-modules
UPDATE Working solution: Force install your modules
pip install -U -I pyasn1 pyasn1-modules
Post a Comment for "From Oauth2client.service_account Import ServiceAccountCredentials : Cannot Import Name 'opentype'"