code: def check_depdendencies():
      
      # Get installed packages
      installed_packages = pip.get_installed_distributions(local_only=False)
      installed_packages_list = sorted(["%s==%s" % (i.key, i.version) for i in installed_packages])
  
      # Now check if each package specified in requirements.txt is actually installed
      deps_filename = os.path.join(ROOT_INSTALL_PATH, "requirements.txt")
      with open(deps_filename, "r") as f:
          for dep in f.read().split():
              if not dep.lower() in installed_packages_list:
                  raise SystemCheckError("Required dependency %s is not installed. Please run 'pip install -e .'" % dep)
docs: Makes sure that all required dependencies are installed in the exact version
      (as specified in requirements.txt)