shahaoze
我行我su
采纳率0%
2017-05-17 01:29 阅读 6.7k

启动django 一直报错,HTTP 500,找了好久没找到解决的方法

System check identified no issues (0 silenced).
May 17, 2017 - 09:19:52
Django version 1.7.11, using settings 'MiguAuto.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Traceback (most recent call last):
File "C:\Python27\lib\wsgiref\handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "C:\Python27\lib\site-packages\django-1.7.11-py2.7.egg\django\core\handle
rs\wsgi.py", line 168, in call
self.load_middleware()
File "C:\Python27\lib\site-packages\django-1.7.11-py2.7.egg\django\core\handle
rs\base.py", line 44, in load_middleware
mw_class = import_string(middleware_path)
File "C:\Python27\lib\site-packages\django-1.7.11-py2.7.egg\django\utils\modul
e_loading.py", line 26, in import_string
module = import_module(module_path)
File "C:\Python27\lib\importlib__init__.py", line 37, in import_module
import(name)
ImportError: No module named security
[17/May/2017 09:20:03] "GET / HTTP/1.1" 500 59

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

4条回答 默认 最新

  • oyljerry oyljerry 2017-05-17 01:47

    ImportError: No module named security

    ---- 这个模块你有没有安装好

    点赞 1 评论 复制链接分享
  • qq_18895659 AngusC· 2017-05-17 01:56

    500服务器错误,如果代码里面没有报错,那应该是模块没有安装好ImportError: No module named security

    点赞 1 评论 复制链接分享
  • shahaoze 我行我su 2017-05-17 02:10

    security 这个怎么安装,没找到对应安装的文件和方法

    点赞 评论 复制链接分享
  • weixin_34890168 骚bai 2018-01-25 01:58

    报错图片说明

    点赞 评论 复制链接分享

相关推荐