code: def install(editable=True):
      
  
      try:
          __import__(package['name'])
      except ImportError:
          pass
      else:
          run("pip uninstall --quiet -y %s" % package['name'], warn=True)
  
      cmd = "pip install --quiet "
      cmd += "-e ." if editable else "."
  
      run(cmd, warn=True)
docs: Install this component (or remove and reinstall)