[! ] 程序出现错误,已停止
Traceback (most recent call last):
File "everythingToExcel.py", line 118, in main
data = EholeJsonData()
File "everythingToExcel.py", line 32, in EholeJsonData
ip_result = socket. getaddrinfo(hostname[:-1], 'http')
File "F:\python\lib\socket.py", line 914, in getaddrinfo
for res in _socket. getaddrinfo(host, port, family, type, proto, flags):
socket. gaierror: [Errno 11001] getaddrinfo failed
[! ] 程序出现错误,已停止 Traceback (most recent call last): File "everythingToExcel.py", line 118, in main data = EholeJsonData() File "everythingToExcel.py", line 32, in EholeJsonData ip_result = socket. getaddrinfo(hostname[:-1], 'http') File "F:\python\lib\socket.py", line 914, in getaddrinfo for res in _socket. getaddrinfo(host, port, family, type, proto, flags): socket. gaierror: [Errno 11001] getaddrinfo failed
你好,这个问题如何去修复呢,在使用ehole工具常见到这个,然后就报错,麻烦作者百忙之中能给解惑,谢谢