Can't start the server via python runserver. Can't understand what the problem is. Who can tell?

did the migration but still does not help. Can't open the server browser

(venv) C:\Users\Admin\PycharmProjects\Pyshop>python migrate
Operations to perform:
 Apply all migrations: admin, auth, contenttypes, sessions
Running migrations:
 No migrations to apply.

(venv) C:\Users\Admin\PycharmProjects\Pyshop>python makemigrations
No changes detected

(venv) C:\Users\Admin\PycharmProjects\Pyshop>python runserver
Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).
January 01, 2020 - 20:11:05
Django version 3.0.1, using settings 'pyshop.settings'
Starting development server at
Quit the server with CTRL-BREAK.
Exception in thread django-main-thread:
Traceback (most recent call last):
 File "C:\python37\lib\", line 917, in _bootstrap_inner
 File "C:\python37\lib\", line 865, in run
 self._target(*self._args, **self._kwargs)
 File "C:\Users\Admin\PycharmProjects\Pyshop\venv\lib\site-packages\django\utils\", line 53, in wrapper
 fn(*args, **kwargs)
 File "C:\Users\Admin\PycharmProjects\Pyshop\venv\lib\site-packages\django\core\management\commands\", line 139, in inner_run
 ipv6=self.use_ipv6, threading=threading, server_cls=self.server_cls)
 File "C:\Users\Admin\PycharmProjects\Pyshop\venv\lib\site-packages\django\core\servers\", line 206, in run
 httpd = httpd_cls(server_address, WSGIRequestHandler, ipv6=ipv6)
 File "C:\Users\Admin\PycharmProjects\Pyshop\venv\lib\site-packages\django\core\servers\", line 67, in __init__
 super().__init__(*args, **kwargs)
 File "C:\python37\lib\", line 452, in __init__
 File "C:\python37\lib\wsgiref\", line 50, in server_bind
 File "C:\python37\lib\http\", line 139, in server_bind
 self.server_name = socket.getfqdn(host)
 File "C:\python37\lib\", line 676, in getfqdn
 hostname, aliases, ipaddrs = gethostbyaddr(name)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcf in position 6: invalid continuation byte
April 4th 20 at 00:29
1 answer
April 4th 20 at 00:31
Never happened, and now again, learn to search already. The answer is the name of the computer in Cyrillic.
the computer name in Cyrillic? Could you please explain in detail . Thank you very much ) - Sydni94 commented on April 4th 20 at 00:34
@Sydni94, "the name of the computer in Cyrillic," this is the problem causing this error. - alejandrin_Wunsch15 commented on April 4th 20 at 00:37
@alejandrin_Wunsch15, Thank You very much for your help. I have a kettle in the programming ) - Sydni94 commented on April 4th 20 at 00:40

Find more questions by tags Django