1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Python error

Discussion in 'General Scripting Chat' started by Vargas22, Feb 14, 2017.

  1. Vargas22

    Vargas22 Newbie

    Joined:
    Feb 13, 2017
    Messages:
    28
    Likes Received:
    4
    Gender:
    Male
    Tried to run a .py script(im a newbie). Installed python2.7,made path so i can run .py script in Windows cmd and I get this error:

    Traceback (most recent call last):
    File "C:\Users\Muhd Fahmy\Downloads\Squido-master\Squido-master\install_squid.py", line 42, in <module>
    transport = paramiko.Transport((host, port))
    File "C:\Python27\lib\site-packages\paramiko\transport.py", line 298, in __init__
    for (family, socktype, proto, canonname, sockaddr) in socket.getaddrinfo(hostname, port, socket.AF_UNSPEC, socket.SOCK_STREAM):
    gaierror: [Errno 11001] getaddrinfo failed

    I don't get what it means. Any ideas how to fix?
     
  2. Sam Green

    Sam Green Junior Member

    Joined:
    Dec 15, 2016
    Messages:
    134
    Likes Received:
    31
    the python script is unable to contact the server your trying to setup the proxy on. without more info though its hard to troubleshoot more than that.
     
  3. Vargas22

    Vargas22 Newbie

    Joined:
    Feb 13, 2017
    Messages:
    28
    Likes Received:
    4
    Gender:
    Male
    Check pm pls.