任何人都可以在Heroku上帮助解决此错误吗?
2015-01-12T22:26:00.575669+00:00 heroku[web.1]: Starting process with command `python hangman.py`
2015-01-12T22:26:01.066240+00:00 app[web.1]: Traceback (most recent call last):
2015-01-12T22:26:01.066256+00:00 app[web.1]: File "hangman.py", line 3, in <module>
2015-01-12T22:26:01.066262+00:00 app[web.1]: from flask import (
2015-01-12T22:26:01.066268+00:00 app[web.1]: ImportError: No module named flask
2015-01-12T22:26:01.742444+00:00 heroku[web.1]: Process exited with status 1
2015-01-12T22:26:01.751614+00:00 heroku[web.1]: State changed from starting to crashed
我的git repo在这里:https://github.com/PJBentham/Hangman
我认为就设置而言,我已经做了一切正确但我仍然遇到上述错误并且无法弄清楚原因?
答案 0 :(得分:1)
你必须显示最后一个或拉traceback
进一步调试......!你git repo工作得非常好。
来自您的追溯代码段flask
不存在。使用heroku run pip freeze