Avatar ·

Unicodeedecodeerror when starting a new Django project on Windows

📁 помощь, python3, django, ии, проект

I create a new project on Django using Pycharm. I do not change anything. When starting the project, the error knocks out:

   "" C: \ Program Files (x86) \ Jetbrains \ Pycharm 5.0.3 \ bin \ runnerw.exe ""  c: \ python34 \ python.exe e: /projects/proj_test/manage.py runserver  8000  performsing System Checks ... system Check Identified No Issues ( Not  Work Properly Untilthey Are Applied. Run  'Python Manage.py Migrate'  to Apply them.january  23 ,  2016  -  12 :  55 :  37  django version  1.9  . 1 , USING settings  'proj_test.settings'  starting development server at http: //  127.0  . 0  . 1 :  8000 /quit the server  with  ctrl-break.unhanhandled expation  in  Thread Started by & Lt; Function Check_errors. & Lt;  locals  & gt; .wrapperat  0x036e9078  & gt; traceback (Most Recent Call Last):  [...]  file , line  138 ,  in  server_bind self.server_name = socket.getfqdn (host)  file ""C:\Python34\lib\socket.py"", line 467, in getfqdn    hostname, aliases, ipaddrs = Gethostbyadddr (name) unicodedecodeeroror:  'Utf-8'  codec can  '' '' '' '' '' 't Decide byte 0xc2 in Position 0: Invalid Continuation Byte  

a similar situation when using Visual Studio. The change of Python does not decide. I use Windows 7.

Tell me how to solve this error.