[점프 투 장고]runserver error

시작부터 막히네요 runserver에서 에러가 발생합니다

Exception in thread django-main-thread:
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\threading.py", line 870, in run
self._target(self._args, self._kwargs)
File "C:\venvs\mysite\lib\site-packages\django\utils\autoreload.py", line 53, in wrapper
fn(
args, kwargs)
File "C:\venvs\mysite\lib\site-packages\django\core\management\commands\runserver.py", line 139, in inner_run
run(self.addr, int(self.port), handler,
File "C:\venvs\mysite\lib\site-packages\django\core\servers\basehttp.py", line 206, in run
httpd = httpd_cls(server_address, WSGIRequestHandler, ipv6=ipv6)
File "C:\venvs\mysite\lib\site-packages\django\core\servers\basehttp.py", line 67, in init
super().init(*args,
kwargs)
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\socketserver.py", line 452, in init
self.server_bind()
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\wsgiref\simple_server.py", line 50, in server_bind
HTTPServer.server_bind(self)
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\http\server.py", line 140, in server_bind
self.server_name = socket.getfqdn(host)
File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\socket.py", line 756, in getfqdn
hostname, aliases, ipaddrs = gethostbyaddr(name)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbc in position 0: invalid start byte

rlaeodus1501 288

2021년 12월 8일 11:56 오전

목록으로
1개의 답변이 있습니다. 1 / 1 Page

수정한 파일들 중 "한글"이 포함되어 있는데 파일이 utf-8이 아닌 다른 인코딩방식으로 저장된 것이 있는지 확인해 보세요.

박응용

2021년 12월 8일 2:01 오후