我正在使用Amazon Developer Console上的Alexa Skill Kit SDK开发一项技能。我的代码具有 import numpy ,它会生成运行时错误。
I am developing a skill using Alexa Skill Kit SDK on Amazon Developer Console. My code has import numpy, which generates a runtime error.
我用Google搜索的所有解决方案都是关于上传numpy的。源代码下载到AWS上,我发现它与Alexa技能套件不相关。
All solutions that I have googled are about uploading numpy source code onto AWS, which I do not find it relevant to the Alexa Skill Kit.
推荐答案我认为您正在构建Alexa
I think you are building an Alexa-hosted skill in python.
作为文档说:
您可以使用Python安装依赖项。您在 requirements.txt文件中添加了依赖项。代码示例如下所示:
You can use Python to install dependencies. You add dependencies in the requirements.txt file. An example of the code is shown below: boto3==1.9.216
更多推荐
如何使用Alexa Skill Kit SDK导入Python外部库?
发布评论