Skip to content

Commit e9f97d8

Browse files
authored
Use Python 3.8 on OSX for Foxy (ros2#663)
* Use Python 3.8 on OSX for Foxy Replaces ros2#641 * Add Python 3.8 Install instructions to osx Dev setup page Signed-off-by: Shane Loretz <[email protected]> * Delete python3 from one line Signed-off-by: Shane Loretz <[email protected]>
1 parent c0f0385 commit e9f97d8

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

source/Installation/Foxy/macOS-Development-Setup.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,12 @@ You need the following things installed to build ROS 2:
5555

5656
.. code-block:: bash
5757
58-
brew install cmake cppcheck eigen pcre poco python3 tinyxml wget bullet
58+
brew install cmake cppcheck eigen pcre poco tinyxml wget bullet
59+
60+
brew install [email protected]
61+
brew unlink python
62+
# Make the python command be Python 3.8
63+
brew link --force [email protected]
5964
6065
# install dependencies for Fast-RTPS if you are using it
6166
brew install asio tinyxml2

source/Installation/Foxy/macOS-Install-Binary.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ You need the following things installed before installing ROS 2.
4444

4545
.. code-block:: bash
4646
47-
brew install python3
47+
brew install [email protected]
48+
# Unlink in case you have [email protected] installed already
49+
brew unlink python
50+
# Make the python command be Python 3.8
51+
brew link --force [email protected]
4852
4953
# install asio and tinyxml2 for Fast-RTPS
5054
brew install asio tinyxml2

0 commit comments

Comments
 (0)