def install_pip():
    try:
        from urllib2 import urlopen
    except __HOLE__:
        from urllib.request import urlopen

    f = NamedTemporaryFile(delete=False)
    response = urlopen("https://bootstrap.pypa.io/get-pip.py")
    f.write(response.read())
    f.close()

    try:
        print (exec_python_cmd([f.name]))
    finally:
        os.unlink(f.name)
dataset/ETHPy150Open smartanthill/smartanthill1_0/get-smartanthill.py/install_pip