每当我尝试部署我的 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 上工作。