Install & Compatibility
Where this runs
tested against v9.6.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.95 runs
build_error
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.0s · import 0.072s · 81MB
79MB installed
● package 79MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
OpenGeodeGeosciences
✓ import opengeode_geosciences
✗ import opengeode.geosciences
Package name uses underscores, not dots
Creates a basic geological model with a stratigraphic unit.
import opengeode_geosciences
from opengeode_geosciences import Model, StratigraphicUnit, Horizon, Fault
# Create a simple geological model
model = Model()
unit = StratigraphicUnit(model, 'Basement', 2.5e9, 5.4e8)
print(f'Created unit: {unit.name()}, age: {unit.age_range()}')
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'opengeode_geosciences'
Package not installed or incorrect import name (e.g., used opengeode.geosciences).
fixInstall with: pip install opengeode-geosciences and import as 'import opengeode_geosciences'.
ImportError: cannot import name 'GeologicalModel' from 'opengeode_geosciences'
GeologicalModel was renamed to Model in version 9.5.0.
fixUse 'from opengeode_geosciences import Model' instead.
Upgrade
Version history
9.6.0latest on PyPI · released Jun 13, 2026
Audit
Dependencies
opengeode-corerequiredCore library required for all data structures
opengeode-inspectoroptionalOptional dependency for model validation