Ao tentar executar o comando django-admin startproject connectedin tenho o seguinte problema:
C:\Users\Jefferson\Desktop\django>pip install django==1.7.4 Collecting django==1.7.4 Using cached Django-1.7.4-py2.py3-none-any.whl Installing collected packages: django Successfully installed django-1.7.4
C:\Users\Jefferson\Desktop\django>django-admin startproject connectedin Traceback (most recent call last): File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\runpy.p y", line 184, in runmoduleasmain "main", modspec) File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\runpy.p y", line 85, in runcode exec(code, runglobals) File "C:\Users\Jefferson\AppData\Local\Programs\Python\Python35-32\Scripts\dja ngo-admin.exe_main.py", line 9, in File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\core\management\init.py", line 385, in execute_from_command_li ne utility.execute() File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\core\management\init.py", line 354, in execute django.setup() File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\init.py", line 18, in setup from django.utils.log import configure_logging File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\utils\log.py", line 13, in from django.views.debug import ExceptionReporter, get_exception_reporter_fil ter File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\views\debug.py", line 10, in from django.http import (HttpResponse, HttpResponseServerError, File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\http\init_.py", line 4, in from django.http.response import ( File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\http\response.py", line 13, in from django.core.serializers.json import DjangoJSONEncoder File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\core\serializers__init.py", line 23, in from django.core.serializers.base import SerializerDoesNotExist File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\core\serializers\base.py", line 6, in from django.db import models File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\db\models__init.py", line 6, in from django.db.models.query import Q, QuerySet, Prefetch # NOQA File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\db\models\query.py", line 13, in from django.db.models.fields import AutoField, Empty File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\db\models\fields__init.py", line 18, in from django import forms File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\forms__init.py", line 6, in from django.forms.fields import * # NOQA File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\forms\fields.py", line 18, in from django.forms.utils import from_current_timezone, to_current_timezone File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\forms\utils.py", line 15, in from django.utils.html import format_html, format_html_join, escape File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\utils\html.py", line 16, in from .html_parser import HTMLParser, HTMLParseError File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\utils\html_parser.py", line 12, in HTMLParseError = _html_parser.HTMLParseError AttributeError: module 'html.parser' has no attribute 'HTMLParseError'
C:\Users\Jefferson\Desktop\django>django-admin Traceback (most recent call last): File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\runpy.p y", line 184, in runmoduleasmain "main", modspec) File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\runpy.p y", line 85, in runcode exec(code, runglobals) File "C:\Users\Jefferson\AppData\Local\Programs\Python\Python35-32\Scripts\dja ngo-admin.exe_main.py", line 9, in File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\core\management\init.py", line 385, in execute_from_command_li ne utility.execute() File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\core\management\init.py", line 354, in execute django.setup() File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\init.py", line 18, in setup from django.utils.log import configure_logging File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\utils\log.py", line 13, in from django.views.debug import ExceptionReporter, get_exception_reporter_fil ter File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\views\debug.py", line 10, in from django.http import (HttpResponse, HttpResponseServerError, File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\http\init_.py", line 4, in from django.http.response import ( File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\http\response.py", line 13, in from django.core.serializers.json import DjangoJSONEncoder File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\core\serializers__init.py", line 23, in from django.core.serializers.base import SerializerDoesNotExist File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\core\serializers\base.py", line 6, in from django.db import models File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\db\models__init.py", line 6, in from django.db.models.query import Q, QuerySet, Prefetch # NOQA File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\db\models\query.py", line 13, in from django.db.models.fields import AutoField, Empty File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\db\models\fields__init.py", line 18, in from django import forms File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\forms__init.py", line 6, in from django.forms.fields import * # NOQA File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\forms\fields.py", line 18, in from django.forms.utils import from_current_timezone, to_current_timezone File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\forms\utils.py", line 15, in from django.utils.html import format_html, format_html_join, escape File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\utils\html.py", line 16, in from .html_parser import HTMLParser, HTMLParseError File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\utils\html_parser.py", line 12, in HTMLParseError = _html_parser.HTMLParseError AttributeError: module 'html.parser' has no attribute 'HTMLParseError'
C:\Users\Jefferson\Desktop\django>python C:\Path\To\Virtualenv\Scripts\django-ad min.py startproject connectedin python: can't open file 'C:\Path\To\Virtualenv\Scripts\django-admin.py': [Errno 2] No such file or directory
C:\Users\Jefferson\Desktop\django>sublime 'sublime' não é reconhecido como um comando interno ou externo, um programa operável ou um arquivo em lotes.
C:\Users\Jefferson\Desktop\django>start sublime.exe django-admin O sistema não pode encontrar o arquivo sublime.exe.
C:\Users\Jefferson\Desktop\django>django-admin Traceback (most recent call last): File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\runpy.p y", line 184, in runmoduleasmain "main", modspec) File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\runpy.p y", line 85, in runcode exec(code, runglobals) File "C:\Users\Jefferson\AppData\Local\Programs\Python\Python35-32\Scripts\dja ngo-admin.exe_main.py", line 9, in File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\core\management\init.py", line 385, in execute_from_command_li ne utility.execute() File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\core\management\init.py", line 354, in execute django.setup() File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\init.py", line 18, in setup from django.utils.log import configure_logging File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\utils\log.py", line 13, in from django.views.debug import ExceptionReporter, get_exception_reporter_fil ter File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\views\debug.py", line 10, in from django.http import (HttpResponse, HttpResponseServerError, File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\http\init_.py", line 4, in from django.http.response import ( File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\http\response.py", line 13, in from django.core.serializers.json import DjangoJSONEncoder File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\core\serializers__init.py", line 23, in from django.core.serializers.base import SerializerDoesNotExist File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\core\serializers\base.py", line 6, in from django.db import models File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\db\models__init.py", line 6, in from django.db.models.query import Q, QuerySet, Prefetch # NOQA File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\db\models\query.py", line 13, in from django.db.models.fields import AutoField, Empty File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\db\models\fields__init.py", line 18, in from django import forms File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\forms__init.py", line 6, in from django.forms.fields import * # NOQA File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\forms\fields.py", line 18, in from django.forms.utils import from_current_timezone, to_current_timezone File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\forms\utils.py", line 15, in from django.utils.html import format_html, format_html_join, escape File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\utils\html.py", line 16, in from .html_parser import HTMLParser, HTMLParseError File "c:\users\jefferson\appdata\local\programs\python\python35-32\lib\site-pa ckages\django\utils\html_parser.py", line 12, in HTMLParseError = _html_parser.HTMLParseError AttributeError: module 'html.parser' has no attribute 'HTMLParseError'
C:\Users\Jefferson\Desktop\django>
e nada acontece =(, não consigo criar o projeto