Discuss / Python / 浏览器应该打开这个

浏览器应该打开这个

Topic source

雪落传承

#2 Created at ... [Delete] [Delete and Lock User]

Traceback (most recent call last):

  File "learning.py", line 245, in <module>

    main()

  File "learning.py", line 114, in main

    httpd = HTTPServer(('127.0.0.1', PORT), LearningHTTPRequestHandler)

  File "C:\Users\47409\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 452, in __init__

    self.server_bind()

  File "C:\Users\47409\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 139, in server_bind

    self.server_name = socket.getfqdn(host)

  File "C:\Users\47409\AppData\Local\Programs\Python\Python37\lib\socket.py", line 676, in getfqdn

    hostname, aliases, ipaddrs = gethostbyaddr(name)

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 2: invalid continuation byte

雪落传承

#3 Created at ... [Delete] [Delete and Lock User]

已解决,更改计算机中文为英文

求助,更改计算机中文为英文是具体要改哪里?

SammyH25

#5 Created at ... [Delete] [Delete and Lock User]

同问怎么改英文???

改成英文了,但是依旧如故啊


  • 1

Reply