# sdnext installer import installer dependencies = ['pymatting', 'pooch', 'rembg'] for dependency in dependencies: if not installer.installed(dependency): installer.install(dependency, ignore=False)