code: def install_tensorflow():
      description = subprocess.check_output(
          (env.BIN_PYTHON, "-m", "pip", "show", "tensorflow")
      ).decode("utf-8")
      version = re.match(
          ".*^Version: ([^\n]+)", description, re.S | re.M
      ).group(1)
      if not version:
          sys.exit(
              ansi.error() + " tensorflow is not in requirements.txt"
          )
  
      print(ansi.success("NATIVE") + " tensorflow " + version)
  
      python_version = "".join(env.PYTHON_VERSION.split(".")[0:2])
      cached = os.path.join(
          env.PYENV,
          "cache",
          "tensorflow_pkg",
          "tensorflow-" + version + "-cp" + python_version + "*",
      )
  
      paths = glob.glob(cached)
  
      if not paths:
          build_tensorflow(version)
          paths = glob.glob(cached)
  
      path = paths[0]
  
      subprocess.check_call(
          (env.BIN_PYTHON, "-m", "pip", "uninstall", "-y", "tensorflow")
      )
      print(ansi.success("INSTALL") + " tensorflow native build")
      subprocess.check_call(
          (env.BIN_PYTHON, "-m", "pip", "install", path)
      )
  
imports: from __future__ import absolute_import, unicode_literals
  import argparse
  import datetime
  import distutils.dir_util
  import glob
  from io import open
  import importlib
  import inspect
  import json
  import logging
  import os
  import platform
  import pkgutil
  import re
  import shutil
  import subprocess
  import sys
  import lore
  from lore import ansi, env, util
  from lore.util import timer, which
label_desc: Use image node_id 38 for calling a global function with example usage: install_tensorflow() without return types