rtac.utils.ensure_package

Functions

ensure_package(pkg_name, version)

Check if given package and its version are installed and install it of not.

rtac.utils.ensure_package.ensure_package(pkg_name: str, version: str) None[source]

Check if given package and its version are installed and install it of not.

Parameters:
  • pkg_name (str) – Name of the package.

  • version (str) – Version of the package.

Return type:

None