Доброго времени суток.
Выполнял обычную последовательность команд при установке и запуске django.
В итоге локально джанго не запустился.
Выполнял такую последовательность комманд
1. pip install virtualenv
2. python -m venv test_django
3. pip install django
4. django-admin startproject courses_django
5. python
manage.py runserver
python
manage.py runserver Выдает
System check identified no issues (0 silenced).
September 24, 2019 - 15:36:31
Django version 2.2.5, using settings 'courses_django.settings'
Starting development server at [url]
http://127.0.0.1:8000/[/url]Quit the server with CTRL-BREAK.
Exception in thread django-main-thread:
Traceback (most recent call last):
File "C:\Users\Wise\Anaconda3\lib\
threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\Wise\Anaconda3\lib\
threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Wise\Anaconda3\lib\site-packages\django\utils\
autoreload.py", line 54, in wrapper
fn(*args, **kwargs)
File "C:\Users\Wise\Anaconda3\lib\site-packages\django\core\management\commands\
runserver.py", line 139, in inner_run
ipv6=self.use_ipv6, threading=threading, server_cls=self.server_cls)
File "C:\Users\Wise\Anaconda3\lib\site-packages\django\core\servers\
basehttp.py", line 203, in run
httpd = httpd_cls(server_address, WSGIRequestHandler, ipv6=ipv6)
File "C:\Users\Wise\Anaconda3\lib\site-packages\django\core\servers\
basehttp.py", line 67, in
init
super().
init(*args, **kwargs)
File "C:\Users\Wise\Anaconda3\lib\
socketserver.py", line 452, in
init
self.server_bind()
File "C:\Users\Wise\Anaconda3\lib\wsgiref\simple_server.py", line 50, in server_bind
HTTPServer.server_bind(self)
File "C:\Users\Wise\Anaconda3\lib\http\
server.py", line 139, in server_bind
self.server_name = socket.getfqdn(host)
File "C:\Users\Wise\Anaconda3\lib\
socket.py", line 676, in getfqdn
hostname, aliases, ipaddrs = gethostbyaddr(name)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcf in position 5: invalid continuation byte