首页 > 解决方案 > 在python中导入模块时出错

问题描述

点安装谷歌身份验证

try: 
    from  google.auth.transport import requests as GoogleRequest
    print('Google Request include')
except:
    print('Google Request NOT include')

try: 
    from google.oauth2 import id_token as GoogleToken
    print('Google Token include')
except:
    print('Google Token NOT include')

Python:2.7 我已经在文件中安装并导入了一个模块,但得到了这个输出

模块链接 https://google-auth.readthedocs.io/en/latest/reference/google.auth.html

Google Request NOT include
Google Token include
Google Request NOT include
Google Request include
Google Token include
Google Token include

为什么?请帮我

标签: pythonpython-import

解决方案


推荐阅读