Closed Kallinteris-Andreas closed 1 year ago
Two things:
You shouldn't be working inside the repo Gymnasium-Robotics
where your package directory is gymnasium-robotics
. Try a python import from outside this directory, it should work that way
This will be fixed in the next release (after mamujoco and d4rl are merged). The issue is in the entrypoint in the setup.py
file https://github.com/Farama-Foundation/Gymnasium-Robotics/blob/bb73fe22abc855c18128f29ef8609fccf2e437b6/setup.py#L81. In the Github repo this is fixed but in the Pypi release version it's pointing to the function instead of to the file:
entry_points={
"gymnasium.envs": ["__root__ = gymnasium_robotics:register_robotics_envs"]
},
These issues shouldn't affect the current use of Gymnasium-Robotics since all environments are meant to be used as registered environments in Gymnasium
. However, is there something related to these issues that will be limiting the development of mamujoco
?
It, probably does not affect mamujoco, can you check the discord robotics-dev
, for my module export issue, Thanks
There are issues with importing
gymnasium_robotics/__init__.py
twicewhen you
import gymansium_robotics
it appers that/__init__.py
is called twiceGit version
pip version