Skip to content

Instantly share code, notes, and snippets.

@beniroquai
Last active January 9, 2024 15:32
Show Gist options
  • Save beniroquai/3ef6f270e164d5a74ecdfb0dd71ee710 to your computer and use it in GitHub Desktop.
Save beniroquai/3ef6f270e164d5a74ecdfb0dd71ee710 to your computer and use it in GitHub Desktop.
setup ROS on mac in python
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
cd ~/mambaforge
mamba create -n ros_env
mamba activate ros_env
# this adds the conda-forge channel to the new created environment configuration
conda config --env --add channels conda-forge
# and the robostack channel
conda config --env --add channels robostack-staging
# remove the defaults channel just in case, this might return an error if it is not in the list which is ok
conda config --env --remove channels defaults
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment