Skip to main content
To install encord-agents in your current environment, run:
Installing the vision extras is advised for most users. These dependencies optimize performance when handling visual data formats.
Encord Agents requires python >= 3.10. If you do not have Python 3.10, we recommend usingpyenv to manage your Python versions.

We recommend installing the Encord agents library in an isolated environment. There are several options available.

Venv

  1. Create a new virtual environment. In this example, we name it agents-venv but you can choose any name you see fit.
  1. Next, activate your virtual environment. This ensures that any modules you install remain isolated and that all previously installed modules in the environment are available for use in Python.
  1. Once activated, the environment name is displayed before the cursor in your terminal.
example
  1. Install the encord-agents library.

Poetry

If you already have a Poetry project, you can add encord-agents to that project:

Conda

  1. Create a conda environment.
  1. We suggest activating your conda environment.
  1. Once activated, the environment name is displayed before the cursor in your terminal.
example
  1. Install the encord-agents library.

Dependencies

The dependencies for encord-agents are kept lightweight, with the only relatively large dependencies being opencv-python and numpy. To see the full list of dependencies, see here.