Install & Compatibility
Where this runs
tested against v0.16.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
muslpy 3.10–3.920 runs
build_error
glibcpy 3.10–3.920 runs
installs and imports cleanly · install 17.6s · import 0.800s · 512MB
517MB installed
● package 517MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Config
✓ from eta.core.config import Config
For loading and managing ETA configurations.
ETADataset
✓ from eta.core.datasets import ETADataset
Represents a generic ETA dataset structure.
get_eta_data_dir
✓ from eta.core.utils import get_eta_data_dir
Utility to get the base data directory for ETA.
This quickstart shows how to access the default data directory used by ETA, demonstrating a basic utility function. As an internal toolkit, extensive standalone examples are less common, but core utilities are accessible.
import os
from eta.core.utils import get_eta_data_dir
# ETA is primarily an internal toolkit for FiftyOne.
# This quickstart demonstrates a basic utility function.
try:
eta_data_dir = get_eta_data_dir()
print(f"ETA data directory: {eta_data_dir}")
if not os.path.exists(eta_data_dir):
print(f"Creating ETA data directory at: {eta_data_dir}")
os.makedirs(eta_data_dir)
# Example: creating a dummy file in the ETA data directory
dummy_file_path = os.path.join(eta_data_dir, "quickstart_dummy.txt")
with open(dummy_file_path, "w") as f:
f.write("This is a dummy file created by ETA quickstart.")
print(f"Dummy file created at: {dummy_file_path}")
except Exception as e:
print(f"An error occurred: {e}")
print("ETA is an internal toolkit; direct usage might require deeper knowledge of its integration with FiftyOne.")
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'eta'
The `voxel51-eta` package has not been installed in your current Python environment.
fixInstall the library using pip: `pip install voxel51-eta`
TypeError: fromstring() was called with a non-string type.
You are likely using an older version of `voxel51-eta` (prior to `0.15.3`) with `numpy>=2.0`, which deprecated `numpy.fromstring` in favor of `numpy.frombuffer` for bytes-like objects.
fixUpgrade `voxel51-eta` to `0.15.3` or newer to fix `numpy` compatibility issues: `pip install --upgrade voxel51-eta`
AttributeError: module 'eta.core.datasets' has no attribute 'ETADataset'
You are attempting to access a specific class or function (`ETADataset` in this case) that might have been renamed, moved, or removed in your version of `eta`. As an internal toolkit, its API can be less stable and more subject to change.
fixConsult the `voxel51-eta` source code or `FiftyOne` documentation for the correct API. For typical use cases, consider using `FiftyOne` directly as it provides a stable and documented interface.
Upgrade
Version history
0.16.0latest on PyPI · released Jun 3, 2026
Audit
Dependencies
pythonrequiredRequires Python 3.9 or newer.