各位大神能帮我看我的python在配置时,出现了什么了问题了吗?
原本的电脑只会执行到 * Debugger PIN: 228-383-603这行就停止
新配置的电脑,会出现下面的字串
感谢
* Serving Flask app "api" (lazy loading)
- Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead.
- Debug mode: on
- Restarting with stat
- Debugger is active!
- Debugger PIN: 228-383-603 Exception in thread Thread-1: Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\threading.py", line 917, in bootstrap_inner self.run() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\werkzeug\serving.py", line 774, in inner fd=fd) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\werkzeug\serving.py", line 660, in make_server passthrough_errors, ssl_context, fd=fd) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\werkzeug\serving.py", line 577, in __init_ self.address_family), handler) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 449, in init self.server_bind() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 139, in server_bind self.server_name = socket.getfqdn(host) File "C:\Users\Administrator\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 0xc5 in position 2: invalid continuation byte