code: def launch():
      """Ensure that python is running from the Lore virtualenv past this point."""
      if launched():
          check_version()
          os.chdir(ROOT)
          return
  
      if not os.path.exists(BIN_LORE):
          missing = " %s virtualenv is missing." % APP
          if "--launched" in sys.argv:
              sys.exit(
                  ansi.error()
                  + missing
                  + " Please check for errors during:\n $ lore install\n"
              )
          else:
              print(ansi.warning() + missing)
              import lore.__main__
  
              lore.__main__.install(None, None)
  
      reboot("--env-launched")
  
imports: from __future__ import absolute_import, print_function, unicode_literals
  import glob
  import locale
  import os
  import re
  import socket
  import subprocess
  import sys
  import platform
  from io import open
  import pkg_resources
  from lore import ansi
label_desc: Use image node_id 5 for calling a global function with example usage: launch() without return types