小编Hyp*_*ang的帖子

AttributeError:模块'html.parser'没有属性'HTMLParseError'

  1. 这是提示,我该如何解决?
  2. 我使用Python 3.5.1创建了virtualenv的虚拟环境
  3. 源代码在我朋友的计算机上运行良好

错误:

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "A:\Python3.5\lib\site-packages\django\core\management\__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "A:\Python3.5\lib\site-packages\django\core\management\__init__.py", line 354, in execute
    django.setup()
  File "A:\Python3.5\lib\site-packages\django\__init__.py", line 18, in setup
    from django.utils.log import configure_logging
  File "A:\Python3.5\lib\site-packages\django\utils\log.py", line 13, in <module>
    from django.views.debug import ExceptionReporter, get_exception_reporter_filter
  File "A:\Python3.5\lib\site-packages\django\views\debug.py", line 10, in <module>
    from django.http import (HttpResponse, HttpResponseServerError,
  File "A:\Python3.5\lib\site-packages\django\http\__init__.py", line 4, in <module>
    from django.http.response import (
  File "A:\Python3.5\lib\site-packages\django\http\response.py", line 13, in <module>
    from …
Run Code Online (Sandbox Code Playgroud)

python django python-3.x

42
推荐指数
3
解决办法
3万
查看次数

标签 统计

django ×1

python ×1

python-3.x ×1