code: def _install_micromamba(installation_location):
      # Unfortunately no 32bit binaries are available for micromamba, which ideally
      # shouldn't be much of a problem in today's world.
      platform = conda_platform()
      try:
          subprocess.Popen(
              f"mkdir -p {installation_location}", shell=True
          ).wait()
          # https://mamba.readthedocs.io/en/latest/micromamba-installation.html#manual-installation
          # requires bzip2
          result = subprocess.Popen(
              f"curl -Ls https://micro.mamba.pm/api/micromamba/{platform}/latest | tar -xvj -C {installation_location} bin/micromamba",
              shell=True,
              stderr=subprocess.PIPE,
              stdout=subprocess.PIPE,
          )
          _, err = result.communicate()
          if result.returncode != 0:
              raise MicromambaException(
                  f"Micromamba installation '{result.args}' failed:\n{err.decode()}"
              )
  
      except subprocess.CalledProcessError as e:
          raise MicromambaException(
              "Micromamba installation failed:\n{}".format(
                  e.stderr.decode()
              )
          )
  
imports: import json
  import os
  import subprocess
  import tempfile
  from metaflow.exception import MetaflowException
  from metaflow.util import which
  from .utils import conda_platform
label_desc: Use image node_id 1 for calling a global function with example usage: _install_micromamba(installation_location) without return types