influxdb3 install package
The influxdb3 install package
command installs Python packages for use in InfluxDB 3 processing engine plugins.
Usage
influxdb3 install package --packages PACKAGE_NAME
Replace the following:
PACKAGE_NAME
: the name of the Python package to install
Options
Option | Description | Default | Environment | Required |
---|---|---|---|---|
--packages | Python package names to install (comma-separated) | |||
-r , --requirements | Path to requirements.txt file | |||
-H , --host | Host URL of the running InfluxDB 3 Core server | http://127.0.0.1:8181 | INFLUXDB3_HOST_URL | |
--token | The token for authentication with the InfluxDB 3 server | INFLUXDB3_AUTH_TOKEN | ||
--tls-ca | Path to a custom TLS certificate authority for testing with self-signed certificates | INFLUXDB3_TLS_CA | ||
--plugin-dir | Location of the plugins directory | INFLUXDB3_PLUGIN_DIR | ||
--virtual-env-location | Location of the Python virtual environment | VIRTUAL_ENV | ||
--package-manager | Package manager to use for installing packages | discover |
Examples
Install a single package
influxdb3 install package --packages pandas
Install multiple packages
influxdb3 install package --packages pandas,numpy,scipy
Install packages from requirements file
influxdb3 install package -r requirements.txt
Install with authentication
influxdb3 install package --token AUTH_TOKEN --packages pandas
Replace the following:
AUTH_TOKEN
: your admin token for your InfluxDB 3 Core instance
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB 3 Core and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.