• 手机版

    扫码体验手机版

  • 微信公众号

    扫码关注公众号

国内首家协议开发

软芯音视解码保护平台

在线
客服

发布
需求

在线
聊天

天盟
APP

天盟APP下载

关注
微信

微信扫一扫访问
顶部

python manage.py runserver 出错

C:\Users\Administrator>cd E:\python_space
C:\Users\Administrator>e:
E:\python_space>django-admin.py startproject a002
E:\python_space>cd a002
E:\python_space\a002>python manage.py runserver
Traceback (most recent call last):
  File "manage.py", line 10, in
    execute_from_command_line(sys.argv)
  File "D:\python35\lib\site-packages\django\core\management\__init__.py", line
385, in execute_from_command_line
    utility.execute()
  File "D:\python35\lib\site-packages\django\core\management\__init__.py", line
354, in execute
    django.setup()
  File "D:\python35\lib\site-packages\django\__init__.py", line 18, in setup
    from django.utils.log import configure_logging
  File "D:\python35\lib\site-packages\django\utils\log.py", line 10, in
    from django.views.debug import ExceptionReporter, get_exception_reporter_fil
ter
  File "D:\python35\lib\site-packages\django\views\debug.py", line 10, in
    from django.http import (HttpResponse, HttpResponseServerError,
  File "D:\python35\lib\site-packages\django\http\__init__.py", line 4, in
    from django.http.response import (HttpResponse, StreamingHttpResponse,
  File "D:\python35\lib\site-packages\django\http\response.py", line 13, in
    from django.core.serializers.json import DjangoJSONEncoder
  File "D:\python35\lib\site-packages\django\core\serializers\__init__.py", line
23, in
    from django.core.serializers.base import SerializerDoesNotExist
  File "D:\python35\lib\site-packages\django\core\serializers\base.py", line 6,
in
    from django.db import models
  File "D:\python35\lib\site-packages\django\db\models\__init__.py", line 6, in

    from django.db.models.query import Q, QuerySet, Prefetch  # NOQA
  File "D:\python35\lib\site-packages\django\db\models\query.py", line 13, in
    from django.db.models.fields import AutoField, Empty
  File "D:\python35\lib\site-packages\django\db\models\fields\__init__.py", line
18, in
    from django import forms
  File "D:\python35\lib\site-packages\django\forms\__init__.py", line 6, in
    from django.forms.fields import *  # NOQA
  File "D:\python35\lib\site-packages\django\forms\fields.py", line 18, in
    from django.forms.utils import from_current_timezone, to_current_timezone
  File "D:\python35\lib\site-packages\django\forms\utils.py", line 15, in
    from django.utils.html import format_html, format_html_join, escape
  File "D:\python35\lib\site-packages\django\utils\html.py", line 16, in
    from .html_parser import HTMLParser, HTMLParseError
  File "D:\python35\lib\site-packages\django\utils\html_parser.py", line 12, in

    HTMLParseError = _html_parser.HTMLParseError
AttributeError: module 'html.parser' has no attribute 'HTMLParseError'
E:\python_space\a002>

免责声明:本内容仅代表回答会员见解不代表天盟观点,请谨慎对待。

版权声明:作者保留权利,不代表天盟立场。

使用道具 举报

发新帖

发布任务需求已有1031167位用户正在使用天盟网服务

发布分类: *
任务预算: *
需求内容: *
手机号码: *
任务商家报价为
  • 预算价 :
  • 成交价 :
  • 完工期 :
  • 质保期 :

* 最终任务项目以服务商报价、双方协商为准!