亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

使用django命令床架的項目第一次運行時報錯

http://img1.sycdn.imooc.com//5e14956900011ccb13660736.jpg

D:\Python\pythonproject\django_instroduction>python manage.py runserver

Performing system checks...


System check identified no issues (0 silenced).

January 07, 2020 - 21:44:26

Django version 2.0, using settings 'django_instroduction.settings'

Starting development server at http://127.0.0.1:8000/

Quit the server with CTRL-BREAK.

Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x000000FA403AA9D8>

Traceback (most recent call last):

? File "D:\Python\InstallationDirectory\Python_v372\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper

? ? fn(*args, **kwargs)

? File "D:\Python\InstallationDirectory\Python_v372\lib\site-packages\django\core\management\commands\runserver.py", line 142, in inner_run

? ? ipv6=self.use_ipv6, threading=threading, server_cls=self.server_cls)

? File "D:\Python\InstallationDirectory\Python_v372\lib\site-packages\django\core\servers\basehttp.py", line 163, in run

? ? httpd = httpd_cls(server_address, WSGIRequestHandler, ipv6=ipv6)

? File "D:\Python\InstallationDirectory\Python_v372\lib\site-packages\django\core\servers\basehttp.py", line 66, in __init__

? ? super().__init__(*args, **kwargs)

? File "D:\Python\InstallationDirectory\Python_v372\lib\socketserver.py", line 452, in __init__

? ? self.server_bind()

? File "D:\Python\InstallationDirectory\Python_v372\lib\wsgiref\simple_server.py", line 50, in server_bind

? ? HTTPServer.server_bind(self)

? File "D:\Python\InstallationDirectory\Python_v372\lib\http\server.py", line 139, in server_bind

? ? self.server_name = socket.getfqdn(host)

? File "D:\Python\InstallationDirectory\Python_v372\lib\socket.py", line 676, in getfqdn

? ? hostname, aliases, ipaddrs = gethostbyaddr(name)

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xba in position 0: invalid start byte


正在回答

舉報

0/150
提交
取消

使用django命令床架的項目第一次運行時報錯

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號