Installation#
To install Daft, run this from your terminal:
pip install -U daft
Extra Dependencies#
Some Daft functionality may also require other dependencies, which are specified as "extras":
To install Daft with the extra dependencies required for interacting with AWS services, such as AWS S3, run:
pip install -U daft[aws]
To install Daft with the extra dependencies required for running distributed Daft on top of a Ray cluster, run:
pip install -U daft[ray]
To install Daft with all extras, run:
pip install -U daft[all]
Legacy CPUs#
If you see the text Illegal instruction
when trying to run Daft, it may be because your CPU lacks support for certain instruction sets such as AVX. For those CPUs, use the daft-lts
package instead:
pip install -U daft-lts
Note
Because daft-lts
is compiled to use a limited CPU instruction set, the package is unable to take advantage of more performant vectorized operations. Only install this package if your CPU does not support running the daft
package.
Advanced Installation#
Installing Nightlies#
If you wish to use Daft at the bleeding edge of development, you may also install the nightly build of Daft which is built every night against the main
branch:
pip install -U daft --pre --extra-index-url https://d1p3klp2t5517h.cloudfront.net/builds/nightly
Installing Daft from source#
pip install -U https://github.com/Eventual-Inc/Daft/archive/refs/heads/main.zip
Please note that Daft requires the Rust toolchain in order to build from source.