错误:没有名为staticfiles的模块 [英] Error: No module named staticfiles

查看:129
本文介绍了错误:没有名为staticfiles的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是django的新手,我试图在生产服务器上部署我的项目,但是我收到这个错误:

 错误:没有名为staticfiles的模块

尝试启动服务器时:

  python manage.py runfcgi host = 127.0.0.1 port = 8081 --settings = settings 
/ pre>

与fastCGI + nginx



任何想法?



谢谢!

解决方案

我只是删除整个服务器,再次安装一切,解决了一切。似乎我有一些旧的django鬼安装或某事



抱歉,谢谢!


I'm newbie with django, I'm trying to deploy my project on a production server but I'm getting this error:

Error: No module named staticfiles

When trying to start the server:

python manage.py runfcgi host=127.0.0.1 port=8081 --settings=settings

with the fastCGI + nginx

Any idea?

Thanks!

解决方案

I just remove the whole server and installed everything again, that solved everything. Seems I got some old django ghost installation or something

Sorry and thanks!

这篇关于错误:没有名为staticfiles的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆