-
Notifications
You must be signed in to change notification settings - Fork 76
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
Failed to install Gazebo Harmonic on macOS #2555
Comments
I just added patches to fix finding python in #2563. Can you try again? |
Hi @scpeters I had the same error yesterday. It's working for me now (10GMT). But some projects still find 3.12 instead of 3.11 (even with the The problem I found trying to understand the error yesterday was to look at the cmake logs and some of then still have 3.12 as python found. grep "3\.12" -r ~/Library/Logs/Homebrew/gz-*/01.cmake
# /Users/ciro.cavani/Library/Logs/Homebrew/gz-fuel-tools9/01.cmake:-- Found Python3: /opt/homebrew/bin/python3.12 (found version "3.12.2") found components: Interpreter
# /Users/ciro.cavani/Library/Logs/Homebrew/gz-gui8/01.cmake:-- Found Python3: /opt/homebrew/bin/python3.12 (found version "3.12.2") found components: Interpreter
# /Users/ciro.cavani/Library/Logs/Homebrew/gz-harmonic/01.cmake:-- Found Python3: /opt/homebrew/bin/python3.12 (found version "3.12.2") found components: Interpreter
# /Users/ciro.cavani/Library/Logs/Homebrew/gz-launch7/01.cmake:-- Found Python3: /opt/homebrew/bin/python3.12 (found version "3.12.2") found components: Interpreter
# /Users/ciro.cavani/Library/Logs/Homebrew/gz-math7/01.cmake:-- Searching for Python - found version 3.12.2.
# /Users/ciro.cavani/Library/Logs/Homebrew/gz-sensors8/01.cmake:-- Found Python3: /opt/homebrew/bin/python3.12 (found version "3.12.2") found components: Interpreter How I tested (as today): brew reinstall [email protected]
brew reinstall [email protected]
brew link --overwrite [email protected]
which python3
# /opt/homebrew/bin/python3
python3 --version
# Python 3.11.7
which python
# /opt/homebrew/bin/python
python --version
# Python 3.11.7
for f in gz-launch7 gz-sim8 gz-sensors8 gz-physics7 sdformat14 gz-gui8 gz-transport13 gz-rendering8 ogre2.3 ogre1.9 gz-plugin2 gz-fuel-tools9 gz-msgs10 gz-tools2 gz-common5 gz-math7 gz-utils2 gz-cmake3 gz-harmonic
do
echo $f
brew uninstall --force --ignore-dependencies $f 2> /dev/null
brew cleanup -s $f
find ~/Library/Caches/Homebrew -name "*$f*" -delete
rm -rf ~/Library/Logs/Homebrew/$f
done
brew list | grep gz
# empty
brew tap osrf/simulation
brew update && brew upgrade
brew install gz-harmonic
# ==> Fetching dependencies for osrf/simulation/gz-harmonic: osrf/simulation/gz-cmake3, osrf/simulation/gz-utils2, osrf/simulation/gz-math7, osrf/simulation/gz-common5, osrf/simulation/gz-tools2, osrf/simulation/gz-msgs10, osrf/simulation/gz-fuel-tools9, osrf/simulation/gz-plugin2, osrf/simulation/ogre1.9, osrf/simulation/ogre2.3, osrf/simulation/gz-rendering8, osrf/simulation/gz-transport13, osrf/simulation/gz-gui8, osrf/simulation/sdformat14, osrf/simulation/gz-physics7, osrf/simulation/gz-sensors8, osrf/simulation/gz-sim8 and osrf/simulation/gz-launch7
#
# ...
#
# ==> Installing osrf/simulation/gz-harmonic
# ==> cmake ..
# ==> make install
# ==> /opt/homebrew/opt/[email protected]/libexec/bin/python -m venv --system-site-packages --without-pip /opt/homebrew/Cellar/gz-harmonic/1.0.0_3/libexec
# ==> /opt/homebrew/opt/[email protected]/libexec/bin/python -m pip --python=/opt/homebrew/Cellar/gz-harmonic/1.0.0_3/libexec/bin/python install PyYAML
# ==> /opt/homebrew/opt/[email protected]/libexec/bin/python -m pip --python=/opt/homebrew/Cellar/gz-harmonic/1.0.0_3/libexec/bin/python install vcstool
# 🍺 /opt/homebrew/Cellar/gz-harmonic/1.0.0_3: 93 files, 627.5KB, built in 1 minute 13 seconds
# ==> Running `brew cleanup gz-harmonic`...
# Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
# Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). |
@scpeters I was able to install Gazebo Harmonic. And, I also encountered #2555 (comment). |
if you are able to install Gazebo Harmonic and use the python bindings (confirm with |
@scpeters Thank you for your explanation. I understood. So, I closed this issue. |
glad it's working for you! |
Fails on M2 . I'm running standard Macos binary installation instruction After running brew install gz-sim8 --verbose --debug
|
@skol101 I don't think the error is from doxygen; perhaps there was another error earlier on the console log? |
I read https://gazebosim.org/docs/harmonic/install_osx to install
Gazebo Harmonic
on macOS.And, I add
ulimit -n unlimited
to avoid gazebosim/gz-sim#2215.ulimit -n unlimited brew tap osrf/simulation brew install gz-harmonic
As a result, the following error occured.
brew configuration
The text was updated successfully, but these errors were encountered: