voxel51/fiftyone

[BUG] Cannot use CLI, AttributeError: module 'fiftyone' has no attribute 'config'

Open

#5,604 opened on Mar 19, 2025

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Python (400 forks)batch import
bugdocumentationgood first issue

Repository metrics

Stars
 (4,021 stars)
PR merge metrics
 (Avg merge 3d 11h) (161 merged PRs in 30d)

Description

When doing a source development install of FiftyOne, I get AttributeError: module 'fiftyone' has no attribute 'config' when using the cli

Code to reproduce issue

git clone https://github.com/voxel51/fiftyone
cd fiftyone
python -m venv venv && source venv/bin/activate
bash install.bash -d
fiftyone

Traceback on codespaces:

/workspaces/fiftyone fix/zoo-dataset-cityscapes-train-extra    🐍   v3.12.1 venv via 💎 v3.3.4 
⬢ [Docker] ❯ fiftyone 
Traceback (most recent call last):
  File "/workspaces/fiftyone/venv/bin/fiftyone", line 5, in <module>
    from fiftyone.core.cli import main
  File "/workspaces/fiftyone/fiftyone/core/cli.py", line 34, in <module>
    import fiftyone.operators as foo
  File "/workspaces/fiftyone/fiftyone/operators/init.py", line 16, in <module>
    from .executor import (
  File "/workspaces/fiftyone/fiftyone/operators/executor.py", line 210, in <module>
    @coroutine_timeout(seconds=fo.config.operator_timeout)
                               ^^^^^^^^^
AttributeError: module 'fiftyone' has no attribute 'config'

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 22.04): GH Codespaces (Linux Ubuntu 22.04), Arch Linux rolling
  • Python version (python --version):3.11,3.12
  • FiftyOne version (fiftyone --version): latest commit
  • FiftyOne installed from (pip or source): source

Willingness to contribute

The FiftyOne Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the FiftyOne codebase?

  • Yes. I can contribute a fix for this bug independently
  • Yes. I would be willing to contribute a fix for this bug with guidance from the FiftyOne community
  • No. I cannot contribute a bug fix at this time

Contributor guide