你那个网站攻击模块如何下载,还有你用的是什么编译器
就是这个(https://blog.csdn.net/ljw0001_2022/article/details/125939560?spm=1001.2014.3001.5502)
socket,time, threading这3个模块在pc中如何下载
报错内容如下:
C:\Users\Administrator\AppData\Local\Programs\Python\Python36\python.exe D:/Desktop/网络安全/通过网站查找ip地址.py
Traceback (most recent call last):
File "D:/Desktop/网络安全/通过网站查找ip地址.py", line 3, in
ip = socket.gethostbyname(website)
socket.gaierror: [Errno 11004] getaddrinfo failed
Process finished with exit code 1
改成英文/网络安全/通过网站查找ip地址 别用中文。
另外可以在gethostbyname前加一句打印 print repr(website) 看是否有笔误