diff --git a/source/Installation/Foxy/macOS-Development-Setup.rst b/source/Installation/Foxy/macOS-Development-Setup.rst index 6b05db5894..90b332bf3e 100644 --- a/source/Installation/Foxy/macOS-Development-Setup.rst +++ b/source/Installation/Foxy/macOS-Development-Setup.rst @@ -55,7 +55,12 @@ You need the following things installed to build ROS 2: .. code-block:: bash - brew install cmake cppcheck eigen pcre poco python3 tinyxml wget bullet + brew install cmake cppcheck eigen pcre poco tinyxml wget bullet + + brew install python@3.8 + brew unlink python + # Make the python command be Python 3.8 + brew link --force python@3.8 # install dependencies for Fast-RTPS if you are using it brew install asio tinyxml2 diff --git a/source/Installation/Foxy/macOS-Install-Binary.rst b/source/Installation/Foxy/macOS-Install-Binary.rst index 916705f259..15ddfef543 100644 --- a/source/Installation/Foxy/macOS-Install-Binary.rst +++ b/source/Installation/Foxy/macOS-Install-Binary.rst @@ -44,7 +44,11 @@ You need the following things installed before installing ROS 2. .. code-block:: bash - brew install python3 + brew install python@3.8 + # Unlink in case you have python@3.7 installed already + brew unlink python + # Make the python command be Python 3.8 + brew link --force python@3.8 # install asio and tinyxml2 for Fast-RTPS brew install asio tinyxml2