我目前正在为局域网做一个Python实用程序,目前,如果我重复运行该程序,它会间歇性地抛出此错误。
Traceback (most recent call last):
File "netbin.py", line 49, in <module>
results = pool.map(ping, pAddress)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py", line 225, in map
return self.map_async(func, iterable, chunksize).get()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py", line 522, in get
raise self._value
socket.error: [Errno 64] Host is down
这个问题可能会继续出现吗?