Registry / ai-ml / fiftyone

fiftyone

JSON →
library1.17.0pypypi✓ verified 87d ago

FiftyOne is an open-source tool for building high-quality datasets and computer vision models. It enables users to visualize datasets, analyze models, and improve data quality more efficiently. The library is currently at version 1.14.1 and maintains a rapid release cadence with frequent minor updates.

pip install fiftyone
INSTALL
IMPORT
SIG · FIFTYONE
F
fiftyone
ai-mlpythonv1.17.0
Install
41.7s avg
Import
8731ms
Disk
930MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.17.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.920 runs
build_error
glibc
py 3.103.920 runs
installs and imports cleanly · install 41.7s · import 8.731s · 904MB
930MB installed
● package 930MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fiftyone
import fiftyone as fo
fiftyone.zoo
import fiftyone.zoo as foz

This quickstart downloads a sample dataset from the FiftyOne Dataset Zoo and launches the interactive FiftyOne App to visualize and explore the data. If running in a script, `session.wait()` is necessary to keep the App open until manually closed.

import fiftyone as fo import fiftyone.zoo as foz # Load a small dataset from the FiftyOne Dataset Zoo dataset = foz.load_zoo_dataset("quickstart") # Launch the FiftyOne App to visualize the dataset session = fo.launch_app(dataset) # For scripts, use session.wait() to block execution until the App is closed # session.wait()
fiftyone --version
Debug
Known issues
breakingDowngrading FiftyOne versions can lead to database corruption or errors if not handled correctly.
fix
Always run `fiftyone migrate` (for open-source) or the Enterprise migration tool (for Enterprise) BEFORE installing an older version of FiftyOne to perform any necessary downward database migrations. If an error occurs, reinstall the newer version and then follow the migration instructions.
affects: All versions
gotchaBy default, FiftyOne datasets are non-persistent and are deleted from the database when all Python sessions importing FiftyOne are exited.
fix
To make a dataset persistent, set `dataset.persistent = True` before exiting the session. You can also explicitly manage non-persistent datasets using `fo.core.delete_non_persistent_datasets()`.
affects: All versions
gotchaChanges made to individual samples (e.g., adding labels) or certain dataset-level fields (like `info` or `classes` in-place) are not automatically saved to the database.
fix
After modifying a `Sample` object, you must call `sample.save()`. Similarly, after editing fields like `dataset.info` or `dataset.classes`, you must call `dataset.save()` for the changes to persist.
affects: All versions
deprecatedSupport for Python 3.9 is ending.
fix
Upgrade to Python 3.10, 3.11, or 3.12. FiftyOne releases after June 1, 2026, might no longer be compatible with Python 3.9.
affects: <= 1.14.x
deprecatedSupport for MongoDB 6.0 is ending. Older versions (4.4, 5.0) are already unsupported.
fix
Ensure your MongoDB instance is at a supported version. FiftyOne releases after December 1, 2025, might no longer be compatible with MongoDB 6.0.
affects: <= 1.14.x
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'fiftyone.zoo'
This error typically occurs when the `fiftyone` library, or specifically its `zoo` submodule, is not correctly installed in the active Python environment, or there's a naming conflict with a local file/directory named 'fiftyone'.
fix
Ensure FiftyOne is installed (`pip install fiftyone`) and that there is no `fiftyone.py` file or `fiftyone` directory in your current working directory that could be shadowing the installed library. Also, verify your virtual environment is activated if you are using one.
ERROR: Could not find a version that satisfies the requirement fiftyone (from versions: none) ERROR: No matching distribution found for fiftyone.
This installation error usually means your Python or pip version is incompatible with the FiftyOne releases available on PyPI, or you are trying to install on an unsupported platform (e.g., 32-bit).
fix
Upgrade your pip (`pip install --upgrade pip setuptools wheel`) and ensure you are using a supported Python version (3.9 - 3.12 for FiftyOne 1.14.1) in a compatible environment.
App launched. Point your web browser to http://localhost:5151 (browser connection refused) or "It looks like you are not connected to a session" in the browser.
The FiftyOne App failed to establish a connection, often due to the Python script exiting before the App can fully connect, the App's port being blocked/used, or underlying MongoDB issues.
fix
For scripts, use `session.wait()` after `fo.launch_app()` to keep the Python process alive until the App is closed. On Windows, wrap your code in a `if __name__ == '__main__':` block. Check if port 5151 is in use or if there are MongoDB connection issues, and ensure FFmpeg is installed for video datasets.
AttributeError: module 'fiftyone' has no attribute 'config'
This error occurs when an older or incomplete installation of FiftyOne is present, or when trying to access `fiftyone.config` in certain development setups where it might not be directly exposed as an attribute.
fix
Ensure FiftyOne is fully and correctly installed, especially if installing from source, and restart your Python environment. You may need to reinstall FiftyOne (`pip install --upgrade fiftyone --no-cache-dir`) to resolve potential caching issues with a partial installation.
Server version (X.Y.Z) does not match client version (A.B.C) Server Error
This indicates a mismatch between the version of the FiftyOne Python client you are running and the version of the FiftyOne App/service that is currently active or was previously running.
fix
Ensure both your Python client and the FiftyOne App/service are running the same version. This often requires restarting your Python kernel and any FiftyOne App instances after upgrading or downgrading the library. You may need to clear Python package caches during reinstall.
Upgrade
Version history
1.17.0latest on PyPI · released Jun 9, 2026
Audit
Dependencies
PythonrequiredFiftyOne 1.14.1 requires Python 3.9 - 3.12. Python 3.9 support is ending June 1, 2026.
FFmpegoptionalRecommended for working with video datasets.
MongoDBrequiredFiftyOne uses MongoDB as its backing database. Version compatibility is crucial; e.g., MongoDB 6.0 support is ending December 1, 2025, and older versions (4.4, 5.0) are already unsupported.
Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
fiftyone — pip install fiftyone · libregistry