Your computer is misconfigured, the gethostname() + gethostbyname() system calls are failing. On a correctly configured computer,
python -c "import socket; print(socket.gethostbyname(socket.gethostname()))"
will print an IP address
on yours it is raising an error. Presumably something in your network settings is broken.
|