首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在heroku推送上找不到django.core.management

在heroku推送上找不到django.core.management
EN

Stack Overflow用户
提问于 2012-03-08 14:32:11
回答 1查看 636关注 0票数 0

在将我的django应用程序部署到heroku时,我遇到了这个问题

代码语言:javascript
复制
2012-03-08T06:26:47+00:00 heroku[web.1]: Starting process with command `python platformsite/manage.py runserver`
2012-03-08T06:26:47+00:00 app[web.1]: Traceback (most recent call last):
2012-03-08T06:26:47+00:00 app[web.1]:   File "platformsite/manage.py", line 10, in <module>
2012-03-08T06:26:47+00:00 app[web.1]:     from django.core.management import execute_manager
2012-03-08T06:26:47+00:00 app[web.1]: ImportError: No module named django.core.management
2012-03-08T06:26:48+00:00 heroku[web.1]: Process exited with status 1
2012-03-08T06:26:49+00:00 heroku[web.1]: State changed from starting to crashed
2012-03-08T06:27:32+00:00 heroku[router]: Error H10 (App crashed) -> GET growing-mountain-9962.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
2012-03-08T06:27:33+00:00 heroku[router]: Error H10 (App crashed) -> GET growing-mountain-9962.herokuapp.com/favicon.ico dyno= queue= wait= service= status=503 bytes=

我的requirements.txt文件如下所示

代码语言:javascript
复制
py-bcrypt==0.2
ipython==0.12
Flask==0.8
django-debug-toolbar==0.9.4
MySQL-python==1.2.3
PIL==1.1.7
South==0.7.3
django-uni-form==0.9.0
django-grappelli
decorator
pytz
babel
django-pagination
bleach
mock

推送到heroku师父成功

如何让django.core.management在heroku上工作?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-03-08 14:51:25

发现我没有在heroku服务器上安装django。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9613778

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档