【发布时间】:2017-12-12 18:37:41
【问题描述】:
每当我尝试部署我的 Alexa Skill(用于亚马逊促销)时,当我转到终端节点的网址时都会看到此错误:
"{'message': 'An uncaught exception happened while servicing this request. You can investigate this with the `zappa tail` command.', 'traceback': ['Traceback (most recent call last):\\n', ' File \"/var/task/handler.py\", line 433, in handler\\n response = Response.from_app(self.wsgi_app, environ)\\n', ' File \"/var/task/werkzeug/wrappers.py\", line 903, in from_app\\n return cls(*_run_wsgi_app(app, environ, buffered))\\n', ' File \"/var/task/werkzeug/test.py\", line 884, in run_wsgi_app\\n app_rv = app(environ, start_response)\\n', \"TypeError: 'NoneType' object is not callable\\n\"]}"
在进一步调查后,我运行zappa tail 来查看问题所在。
我向上滚动浏览尾部并注意到此错误消息:
[1499529414189] libssl.so.1.0.0: cannot open shared object file: No such file or directory: ImportError
这是什么意思?我该如何解决这个问题?我正在使用烧瓶询问在 Ubuntu 14.04、Python 3.6 上工作。
【问题讨论】:
标签: python openssl amazon alexa zappa