- This is the hints,how can I resolve it?
- I use Python 3.5.1 created a virtual envirement by virtualenv
- The source code works well on my friend's computer machine
Error:
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_lineutility.execute()File "A:\Python3.5\lib\site-packages\django\core\management\__init__.py", line 354, in executedjango.setup()File "A:\Python3.5\lib\site-packages\django\__init__.py", line 18, in setupfrom django.utils.log import configure_loggingFile "A:\Python3.5\lib\site-packages\django\utils\log.py", line 13, in <module>from django.views.debug import ExceptionReporter, get_exception_reporter_filterFile "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 django.core.serializers.json import DjangoJSONEncoderFile "A:\Python3.5\lib\site-packages\django\core\serializers\__init__.py", line 23, in <module>from django.core.serializers.base import SerializerDoesNotExistFile "A:\Python3.5\lib\site-packages\django\core\serializers\base.py", line 6, in <module>from django.db import modelsFile "A:\Python3.5\lib\site-packages\django\db\models\__init__.py", line 6, in <module>from django.db.models.query import Q, QuerySet, Prefetch # NOQAFile "A:\Python3.5\lib\site-packages\django\db\models\query.py", line 13, in <module>from django.db.models.fields import AutoField, EmptyFile "A:\Python3.5\lib\site-packages\django\db\models\fields\__init__.py", line 18, in <module>from django import formsFile "A:\Python3.5\lib\site-packages\django\forms\__init__.py", line 6, in <module>from django.forms.fields import * # NOQAFile "A:\Python3.5\lib\site-packages\django\forms\fields.py", line 18, in <module>from django.forms.utils import from_current_timezone, to_current_timezoneFile "A:\Python3.5\lib\site-packages\django\forms\utils.py", line 15, in <module>from django.utils.html import format_html, format_html_join, escapeFile "A:\Python3.5\lib\site-packages\django\utils\html.py", line 16, in <module>from .html_parser import HTMLParser, HTMLParseErrorFile "A:\Python3.5\lib\site-packages\django\utils\html_parser.py", line 12, in <module>HTMLParseError = _html_parser.HTMLParseError
AttributeError: module 'html.parser' has no attribute 'HTMLParseError'