datallog install
The datallog install command installs Python packages into the project's environment. Datallog ensures these packages are available to all automations when they are run locally or deployed to the cloud.
You can install packages individually by name or by providing a standard requirements.txt file.
Usage
datallog install [options] <package> ...Arguments & Options
The command requires you to specify packages using one of the following mutually exclusive options.
<packages>
- Type:
string(list) - Required: Yes (if
-ris not used)
A space-separated list of one or more Python packages to install. You can specify versions just as you would with pip.
-r, --requirements <file>
- Type:
string(file path) - Required: Yes (if packages are not listed directly)
The path to a requirements file (e.g., requirements.txt). This allows you to install a list of packages from a file, which is useful for managing projects with many dependencies.
Examples
Install packages directly
datallog install requests pandasInstall a specific version of a package
datallog install "numpy==1.26.4"Install from a requirements file
Install all packages listed in a requirements.txt file located in the project root:
datallog install -r requirements.txt