Open AnshShah3009 opened 10 months ago
ros_x_hab
: Unable to install dependencies using pip install -r requirements.txt
When attempting to install dependencies with the command pip install -r requirements.txt
, the following error is encountered:
INFO: pip is looking at multiple versions of gitpython to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 3) and numpy==1.19.5 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested numpy==1.19.5
imageio 2.16.0 depends on numpy>=1.20.0
Hi @AnshShah3009 thanks for reporting the issue. I tried downgrading imageio
to 2.15.0 and changed requirements.txt
, and it seems to work. Could you try starting from Step 3 again?
I modified the requirements.txt file and executed the script in a fresh conda environment. Everything proceeded smoothly until the catkin build. Should I build the workspace with our conda environment activated? Additionally, we need to include a step to install ROS and Empy into our environment. but still the build did not complete. Any suggestions?
Update: I installed a particular version of empy and it got built, I will let you know if the package is functional at my end.
pip install empy==3.3.4
@AnshShah3009 I recall it not building within the conda environment. I had to do so from outside it.
@AnshShah3009 I don't have a machine to test that step but if I remeber correctly ROS Noetic's Python dependency builds upon Python 2 whereas the conda environment runs Python 3.6. So I guess the proper way to build is doing so from outside conda.
ROS x Habitat Installation Instructions
Create and Activate Conda Environment
Install Habitat-Sim
Install Habitat-Lab
Build ROS Package