def install_dependencies(self, dependency_package_name="", op=None):
        """Install all (optional) dependencies of this addon."""
        for dependency in self.get_dependencies():
            install = False
            if dependency_package_name == "":
                install = True
            elif dependency.package_name == dependency_package_name:
                install = True
            if install:
                dependency.install(op=op)
Install all (optional) dependencies of this addon.
photogrammetry_importer/preferences/dependency.py