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

ModuleNotFoundError: No module named 'habitat' #64

Open
rushibs opened this issue Dec 28, 2022 · 2 comments
Open

ModuleNotFoundError: No module named 'habitat' #64

rushibs opened this issue Dec 28, 2022 · 2 comments

Comments

@rushibs
Copy link

rushibs commented Dec 28, 2022

I followed all the steps mentioned to reproduce the codebase. However, I am getting the error shown below when I run the following command:

python3 main.py -n1 --auto_gpu_config 0 --split val

ERROR:

Traceback (most recent call last):
File "main.py", line 15, in
from env import make_vec_envs
File "/home/USER/Neural-SLAM/env/init.py", line 3, in
from .habitat import construct_envs
File "/home/USER/Neural-SLAM/env/habitat/init.py", line 6, in
from habitat.config.default import get_config as cfg_env
ModuleNotFoundError: No module named 'habitat'

Could you kindly guide me what the issue could be and how to resolve it?

@snowBrain
Copy link

snowBrain commented Oct 13, 2023

u can change “ import env.habitat.utils.pose as pu” to “from env.habitat.utils import pose as pu” and “import env.habitat.utils.visualizations as vu” to "from env.habitat.utils import visualizations as vu"

@sahusiddharth
Copy link

Hi @rushibs, were you able to resolve it?

Hi @snowBrain, I tried what you suggested but the error is still there, can you please help me resolve it?

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