Neural-SLAM icon indicating copy to clipboard operation
Neural-SLAM copied to clipboard

ModuleNotFoundError: No module named 'habitat'

Open rushibs opened this issue 3 years ago • 2 comments

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?

rushibs avatar Dec 28 '22 03:12 rushibs

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"

snowBrain avatar Oct 13 '23 13:10 snowBrain

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?

sahusiddharth avatar Apr 18 '24 07:04 sahusiddharth