Python新手,正在尝试部署blog。我接着看了Heorku关于Getting Started with Python on Heroku的文档。它提到我需要添加一个Procfile
,所以我添加了
Procfile文件
web: gunicorn hello:app
已提交,但在尝试将我的应用部署到heroku时遇到此错误
^{pr2}$当我运行heroku logs
时,我得到了这个
Juan-Gallardos-MacBook-Pro:yatumblrgraffiti juangallardo$ heroku logs
2013-09-25T06:48:50+00:00 heroku[slug-compiler]: Slug compilation started
2013-09-25T06:49:16+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Python app
2013-09-25T06:56:42.862309+00:00 heroku[router]: at=info code= desc="Blank app" method=GET path=/favicon.ico host=yatumblrgraffiti.herokuapp.com fwd="98.189.25.230" dyno= connect= service= status=502 bytes=
2013-09-25T06:56:42.221149+00:00 heroku[router]: at=info code= desc="Blank app" method=GET path=/ host=yatumblrgraffiti.herokuapp.com fwd="98.189.25.230" dyno= connect= service= status=502 bytes=
2013-09-25T06:56:42.775650+00:00 heroku[router]: at=info code= desc="Blank app" method=GET path=/favicon.ico host=yatumblrgraffiti.herokuapp.com fwd="98.189.25.230" dyno= connect= service= status=502 bytes=
2013-09-25T07:00:59+00:00 heroku[slug-compiler]: Slug compilation started
2013-09-25T07:01:51+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Python app
2013-09-26T04:19:23+00:00 heroku[slug-compiler]: Slug compilation started
2013-09-26T04:19:48+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Python app
不是How to deploy mezzanine on heroku?的重复项,因为该问题具有不同的过程文件,并且没有包含他的错误日志。在
我在这里会错过什么?在
找不到标识为bonjour py的包。在
显示包名为
^{pr2}$跑
然后再向赫罗库保证和推进。在
另外,您以前使用altgraph的问题表明您可能需要
在推出新的要求.txt在
如果您想查看当前使用的包版本,请执行
altgraph==0.7.1
包似乎有问题,所以只需更新您的requirements.txt
以指向altgraph==0.7.2
或更高版本。在来源:发布历史https://pypi.python.org/pypi/altgraph/
相关问题 更多 >
编程相关推荐