Closed alvgaona closed 7 months ago
Just after posting this I've figured I have the fish shell and there are only setup.bash
, setup.sh
and setup.zsh
files which probably are not getting triggered by the conda activate ros_env
. Therefore, ROS cannot find the packages' location.
I haven't tested this hypothesis yet.
That does sound like an issue. Is fish
supported by ROS?
I don't think it is. I just confirmed that running ROS under a different shell that is not bash or zsh, it won't load the script, and we'll have an incomplete activated environment; for instance fish shell 😢
In that case there is not much we can do here ... the setup.XX
scripts are generated by ROS. Sorry!
Yes, definitely! I just realized that after posting this. Hopefuly, this issue serves for future references.
One thing you might be able to do is use pixi run fish
or micromamba -n myenv run fish
That would first start a bash
shell, activate the environment, and then load fish.
Solution to issue cannot be found in the documentation.
Issue
I've tried installing ROS Humble in macOS by following the getting started guide — I had installed this in an Ubuntu machine a couple days prior — but I'm having a couple issues with macOS right now.
rviz2
was that theAMENT_PREFIX_PATH
env var wasn't set properly. I had to manually point it to/path/to/envs/ros_env
.rviz2
again but I encountered this error.ros2 pkg list
but nothing pops up. In contrast, this works perfectly on Ubuntu 23.10.There might be some misconfiguration somewhere that makes
ros2
not find the installed pacakges;mamba list
shows a lot of packages forros-humble-*
.Installed packages
Environment info