Install & Compatibility
Where this runs
tested against v0.3.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
installs and imports cleanly · install 0.0s · import 14.590s · 406.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 21.3s · import 13.596s · 399MB
340MB installed
● package 340MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Environment
✓ from openenv_core import Environment
Main class for creating environments
make
✓ from openenv_core import make
Factory function to instantiate environments
Wrapper
✓ from openenv_core import Wrapper
Base class for environment wrappers
Creates a simple CartPole environment and runs random actions.
from openenv_core import make, Environment
env = make('CartPole-v1')
obs, info = env.reset(seed=42)
for _ in range(100):
action = env.action_space.sample()
obs, reward, terminated, truncated, info = env.step(action)
if terminated or truncated:
obs, info = env.reset()
env.close()
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'openenv_core'
Using hyphen instead of underscore in import.
fixUse `from openenv_core import ...` (underscore), not `openenv-core`.
ValueError: too many values to unpack (expected 4)
Trying to unpack step() result into 4 variables.
fixUnpack into 5 variables: obs, reward, terminated, truncated, info.
Upgrade
Version history
0.3.0latest on PyPI · released May 11, 2026
Audit
Dependencies
gymnasiumrequiredCore dependency for environment spaces and wrappers
numpyrequiredArray handling for observations