Hi everyone. I just recently learned basics of Python and reached theme about Django. According instructions in book with which I’ve learning I sticked at beginning. First I downloaded library of django from command line. Then created especial folder for it in desktop. Then in this folder i created environment. After I created project with command “django-admin startproject myfirst” I tried to check if it works how needed and gave command “python manage.py runserver”. There after typical message I received error. Does anyone say, how I can solve this? Text of error message:After typical message:
Exception in thread django-main-thread:
Traceback (most recent call last):
File: “C:\Program Files\Python38-32\lib\threading.py”, line 932, in _bootstrap_inner
self.run()
File: “C:\Program Files\Python38-32\lib\threading.py”, line 870, in run self. _target(*self._args,**self._kwargs)
File: “C:\Program Files\Python38-32\lib\site-packages\django\utils\autoreload.py”, line 53 in wrapper
fn(*args, **kwargs)
File: “C:\Program Files\Python38-32\lib\site-packages\django\core\management\commands\runserver.py”, line 139, in inner_run
run(self.addr, int(self.port), handler,
File: “C:\Program Files\Python38-32\lib\site-packages\django\core\servers\basehttp.py”, line 206, in run
httpd = httpd_cls(server_address, WSGIRequestHandler, ipv6=ipv6)
File: “C:\Program Files\Python38-32\lib\site-packages\django\core\servers\bashttp.py)”, line 67, in init
super().init(*args, **kwargs)
File: “C:\Program Files\Python38-32\lib\socketserver.py”, line 452, in init
self.server_bind()
File: “C:\Program Files\Python38-32\lib\wsgiref\simple_server.py”, line 50, in server_bind
HTTPServer.server_bind(self)
File: “C:\Program Files\Python38-32\lib\http\server.py”, line 140, in server_bind
self server_name = socket.getfqdn(host)
File: “C:\Program Files\Python38-32\lib\socket.py”, line 756 in getfqdn
hostname, aliases, ipaddrs = gethostbyaddr(name)
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xca in position 0: invalid continuation byte>
I looked up solution everywhere, but can’t find. Thanks for help.