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

Issue with tensorflow for habitat_lab #3

Open
psykaunot opened this issue May 30, 2024 · 2 comments
Open

Issue with tensorflow for habitat_lab #3

psykaunot opened this issue May 30, 2024 · 2 comments

Comments

@psykaunot
Copy link

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
Copy link
Collaborator

tribhi commented May 30, 2024

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
Copy link
Author

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?

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

2 participants