UMich-CURLY / habitat_ros_interface

Habitat lab interface with ros, parent Directory.
2 stars 0 forks source link

Issue with tensorflow for habitat_lab #3

Open psykaunot opened 3 months ago

psykaunot commented 3 months ago

Hello, I am trying to use your package for a project. But I am stuck on executing the setup.py file of "habitat_lab". Additionally, as I already installed ROS Noetic, I removed all ROS requirements with the environment.yml file.

`(habitat_sim_env) yns@renoir:~/catkin_ws/src/habitat_ros_interface/habitat_lab$ python setup.py develop --all running develop running egg_info writing habitat.egg-info/PKG-INFO writing dependency_links to habitat.egg-info/dependency_links.txt writing requirements to habitat.egg-info/requires.txt writing top-level names to habitat.egg-info/top_level.txt reading manifest file 'habitat.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'habitat.egg-info/SOURCES.txt' running build_ext Creating /home/yns/anaconda3/envs/habitat_sim_env/lib/python3.6/site-packages/habitat.egg-link (link to .) habitat 0.1.7 is already the active version in easy-install.pth

Installed /home/yns/catkin_ws/src/habitat_ros_interface/habitat_lab Processing dependencies for habitat==0.1.7 Searching for tensorflow==2.9.1 Reading https://pypi.org/simple/tensorflow/ No local packages or working download links found for tensorflow==2.9.1 error: Could not find suitable distribution for Requirement.parse('tensorflow==2.9.1')`

tribhi commented 3 months ago

The working version of Tensorflow in the environment.yaml file is tensorflow==1.13.1. However, as far as I know, that version is no longer supported for Python3.6. the setup.py is looking for the most recent compatible version, which looks like it has unmet dependencies. You will have to find a version compatible with your dependencies. We recommend upgrading to habitat version 0.2.1 and follow the steps in our Dockerfile to build from the conda source, or build the docker (recommended, you will nvidia-docker installed: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html). Here is the link to the Dockerfile: https://github.com/UMich-CURLY/spatial_interaction/blob/master/planning_sim_docker/Dockerfile

psykaunot commented 3 months ago

Therefore, as I continue following the installation tutorial, when it comes time to "git clone" habitat_lab, I should make sure to clone version 2. Then, I can use the information in the Dockerfile to build it. Do you plan to update your repository?