OSError illegal IP address string passed to inet_atonDuring handling of the above exception another exception occurredsocketgaierror Errno -2 Name or service not known什么意思
这个错误意味着程序尝试将一个无效的 IP 地址字符串传递给函数 inet_aton,导致出现了 OSError 异常。在处理该异常时,又出现了另一个异常 socket.gaierror,它表示无法解析给定的主机名或服务名。可能是程序中使用了无效的 IP 地址或主机名,或者网络连接存在问题。
原文地址: https://www.cveoy.top/t/topic/fjy7 著作权归作者所有。请勿转载和采集!