【发布时间】:2018-06-29 09:46:58
【问题描述】:
我正在处理行代码中的 alexa,我在我的代码中导入了请求,但运行时给出错误。
from __future__ import print_function
import json
from datetime import datetime
import requests
在开发者帐户上测试 Alexa 时给出的错误为
"There was a problem with the requested skill's response"
仅在我添加导入请求时出现此错误
【问题讨论】:
-
我不熟悉 Alexa,但我很确定你不能导入同名的模块。你需要
from botocore.vendored import requests as requests1等。 -
我只想使用导入请求,但添加其给出错误。
-
@LogitaKurrey 你还在面对这个问题吗?我可以深入研究一下吗?
-
@NikhilWagh 我找到了解决方案
标签: python-3.x alexa alexa-skills-kit