Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

habitat-sim & habitat-lab #15

Open
ChrisWanghb opened this issue Jan 22, 2024 · 2 comments
Open

habitat-sim & habitat-lab #15

ChrisWanghb opened this issue Jan 22, 2024 · 2 comments

Comments

@ChrisWanghb
Copy link

I am unable to install habitat-sim and habitat-lab using the following methods.
git clone https://github.com/facebookresearch/habitat-sim.git
cd habitat-sim; git checkout tags/challenge-2022;
pip install -r requirements.txt;
python setup.py install --headless
python setup.py install # (for Mac OS)
Please tell the version of habitat-sim and habitat-lab.
Thank you very much

@s5das
Copy link

s5das commented Oct 17, 2024

you may pay attention to the basic tool chain

@Roberyan
Copy link

Does this have a solution?

I am facing the same problem of installing a fully usable environment on my PC.

I tried the challenge-2022 version but fails to install habitat-sim on my PC, then I turned to v0.2.4 branch and was able to install the habitat environment. However I notice that there is an additional habitat package in the data_generator.py, I wonder if this is the package in envs folder. If so, with my installed version of habitat-sim and habitat-lab, the code will raise error

  File "/home/marmot/Boyang/MEM-Nav/test.py", line 8, in <module>
    from envs import habitat
  File "/home/marmot/Boyang/MEM-Nav/envs/__init__.py", line 3, in <module>
    from .habitat import construct_envs, construct_envs21
  File "/home/marmot/Boyang/MEM-Nav/envs/habitat/__init__.py", line 11, in <module>
    from habitat import Config, Env, RLEnv, VectorEnv, make_dataset
ImportError: cannot import name 'Config' from 'habitat' (/home/marmot/Boyang/MEM-Nav/habitat-lab/habitat-lab/habitat/__init__.py)

Could anyone please help to solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants