It means that the variable HOST has not be set. Have you got the latest client.py and did you put the desktop pc ip address in? Code: HOST, PORT = "192.168.0.1", 50007
HOST, PORT = "192.168.0.1", 50007