Registry / ai-ml / gym-aloha

gym-aloha

JSON →
library0.1.3pypypiunverified

A gym environment for ALOHA (A Low-cost Open-source Hardware ALOHA) tasks, providing simulation environments for bimanual manipulation. Current version: 0.1.3. Release cadence: infrequent, maintained as needed.

pip install gym-aloha
INSTALL
IMPORT
SIG · GYM-ALOHA
G
gym-aloha
ai-mlpythonv0.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

AlohaEnv
from gym_aloha import AlohaEnv
from gym_aloha import AlohaEnv

Initialize environment, reset, and print observation/action spaces.

"""Quickstart for gym-aloha.""" from gym_aloha import AlohaEnv env = AlohaEnv() obs, info = env.reset() print("Observation spaces:") for key, space in env.observation_space.spaces.items(): print(f" {key}: {space}") print("Action space:", env.action_space) env.close()
Debug
Known issues
gotchaEnvironment requires rendering backend; on headless servers, set MUJOCO_GL=egl or use dummy rendering.
fix
export MUJOCO_GL=egl
affects: all
breakinggym-aloha is built on gymnasium, not the deprecated gym. Using gym will cause compatibility issues.
fix
Install gymnasium and use its API.
affects: >=0.1.0
gotchaObservation and action spaces are Dict and Box respectively; indexing incorrectly can lead to shape errors.
fix
Always access observations via dict keys (e.g., obs['state']) and flatten actions if needed.
affects: all
Upgrade
Version history
0.1.3latest on PyPI · released Oct 9, 2025
Audit
Dependencies
gymnasiumrequiredRequired for environment interface
numpyrequiredArray computations
Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources

No resource links recorded.

gym-aloha — pip install gym-aloha · libregistry