[Step 2] Install Spectral CLI

Prepare Your Environment

We require Python 3.11.6. We strongly recommend interacting with the Spectral CLI in an isolated virtual environment.

To create a virtual environment, run:

python -m venv /path/to/new/virtual/environment

To activate a virtual environment, follow the instructions from https://docs.python.org/3/library/venv.html#how-venvs-work.

Install Spectral CLI

When a virtual environment is activated, install Spectral CLI to interact with the platform:

pip install spectral-cli

You are now ready to fetch training dataset and start modeling!

Last updated