devendrachaplot / Neural-SLAM

Pytorch code for ICLR-20 Paper "Learning to Explore using Active Neural SLAM"
http://www.cs.cmu.edu/~dchaplot/projects/neural-slam.html
MIT License
757 stars 143 forks source link

No module named 'env.habitat.habitat_api.habitat' #54

Closed Derry-Xing closed 2 years ago

Derry-Xing commented 2 years ago

Installing collected packages: habitat Attempting uninstall: habitat Found existing installation: habitat 0.1.2 Uninstalling habitat-0.1.2: Successfully uninstalled habitat-0.1.2 Running setup.py develop for habitat Successfully installed habitat-0.1.2 (habitat2) [20481535@scigpu15 habitat-api]$ cd .. (habitat2) [20481535@scigpu15 Neural-SLAM]$ python main.py /home/comp/20481535/enter/envs/habitat2/lib/python3.8/site-packages/sklearn/base.py:329: UserWarning: Trying to unpickle estimator GaussianMixture from version 0.22.2.post1 when using version 1.1.1. This might lead to breaking code or invalid results. Use at your own risk. For more info please refer to: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations warnings.warn( Traceback (most recent call last): File "main.py", line 15, in from env import make_vec_envs File "/home/comp/20481535/Neural-SLAM/env/init.py", line 3, in from .habitat import construct_envs File "/home/comp/20481535/Neural-SLAM/env/habitat/init.py", line 10, in from .habitat_api.habitat.core.vector_env import VectorEnv ModuleNotFoundError: No module named 'env.habitat.habitat_api.habitat'

devendrachaplot commented 2 years ago

This might be the same issue with python 3.6 as mentioned in this thread: https://github.com/devendrachaplot/Neural-SLAM/issues/1