home-robot: ModuleNotFoundError: No module named 'habitat.utils.gym_definitions'

πŸ› Bug

Steps to Reproduce

Steps to reproduce the behavior: When I followed the Demo Setup in Habitat OVMM readme like: python projects/habitat_ovmm/eval_baselines_agent.py --env_config projects/habitat_ovmm/configs/env/hssd_demo.yaml

the error came out like:

pybullet build time: May 20 2022 19:45:31
Traceback (most recent call last):
  File "/data/home-gxu/lxt21/home-robot-main/projects/habitat_ovmm/eval_baselines_agent.py", line 10, in <module>
    from evaluator import OVMMEvaluator
  File "/data/home-gxu/lxt21/home-robot-main/projects/habitat_ovmm/evaluator.py", line 19, in <module>
    from utils.env_utils import create_ovmm_env_fn
  File "/data/home-gxu/lxt21/home-robot-main/projects/habitat_ovmm/utils/env_utils.py", line 11, in <module>
    from habitat.utils.gym_definitions import _get_env_name
ModuleNotFoundError: No module named 'habitat.utils.gym_definitions'

I had already installed habitat-lab, habitat-baselines and pytorch3d, but the error still exits

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

Are you sure they’re checked out from the same commits in our codebase? I would check in each branch to make sure. You can check on your computer, make sure to run git submodule update --init --recursive, and copy them out.

I’m guessing this is where your issue is

Did you install our versions of these libraries, or did you install from something else?