towhee.utils.dependency_control.prompt_install

towhee.utils.dependency_control.prompt_install(package)[source]

Function used to prompt user to install a package. If TOWHEE_WORKER env variable is set to True then the package will be automatically installed.