code: def install_pip(env, requirements):
      
      try:
          installation_source_folder = config.installation_cache_folder()
          options = setuptools_install_options(installation_source_folder)
          if installation_source_folder is not None:
              zip_eggs_in_folder(installation_source_folder)
          env.execute(["-m", "easy_install"] + options + requirements)
      except (KeyboardInterrupt, SystemExit):
          raise
      except Exception:
          raise EnvironmentSetupError("pip installation failed.")
docs: Install pip and its requirements using setuptools.