Impacket Service not known

Hey everyone, Whenever I try to execute python3 I keep getting this response:

{Traceback (most recent call last):
File “/opt/impacket/examples/”, line 169, in
File “/home/kali/.local/lib/python3.9/site-packages/impacket/”, line 531, in connect
af, socktype, proto, canonname, sa = socket.getaddrinfo(self.server, self.port, 0, socket.SOCK_STREAM)[0]
File “/usr/lib/python3.9/”, line 954, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known}

Any ideas on how to fix this? I’ve unistall and re-installed impacket about 3 times now.

same problem here