def METHOD_NAME(getpip_url):
    pip_temp_dir = tempfile.mkdtemp('-pip', 'ptvs-')
    try:
        print('Downloading pip from ' + getpip_url)
        sys.stdout.flush()
        pip_script, _ = urlretrieve(getpip_url, os.path.join(pip_temp_dir, 'get-pip.py'))
        print('\nInstalling from ' + pip_script)
        sys.stdout.flush()
        subprocess.check_call(EXECUTABLE + [pip_script])
        print('\nInstallation Complete')
        sys.stdout.flush()
    finally:
        shutil.rmtree(pip_temp_dir, ignore_errors=True)