python - 在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
为什么?请帮我
解决方案
推荐阅读
- javascript - 如何在 JS 中检查 Div 是否禁用 onclick
- mysql - 如何在 ruby on rails 中实现优化的 mysql 查询?
- jenkins - 詹金斯主从配置错误
- php - 如何在由 php 文件调用的 .inc 文件中使用 html 代码?
- java - 使用通配符使用@PropertySource(SpringBoot)读取多个属性文件
- javascript - 在 java 脚本中使用 Intl.numberFormat 时,如何验证数字是否具有相对于语言环境的正确格式?
- c# - swagger-ui 中默认的 api 版本值
- html - 如何更改现有的 Atom.io Snippets
- javascript - 无法获取 Packery 项目布局顺序
- mongodb - 如何计算所有手机号码在mongo查询中的收费次数