Set Python3 as a default on MacOS

Download the latest stable release from python.org

sudo ln -s -f /Library/Frameworks/Python.framework/Versions/3.10/bin/python3 /usr/local/bin/python

To check it worked, open a new terminal window and run

python –version

You’ll get


This content originally appeared on DEV Community and was authored by yosi.eth

Download the latest stable release from python.org

sudo ln -s -f /Library/Frameworks/Python.framework/Versions/3.10/bin/python3 /usr/local/bin/python

To check it worked, open a new terminal window and run

python --version

You'll get

Python 3.10.0

Happy coding! 🚀


This content originally appeared on DEV Community and was authored by yosi.eth


Print Share Comment Cite Upload Translate Updates
APA

yosi.eth | Sciencx (2021-10-29T17:14:15+00:00) Set Python3 as a default on MacOS. Retrieved from https://www.scien.cx/2021/10/29/set-python3-as-a-default-on-macos/

MLA
" » Set Python3 as a default on MacOS." yosi.eth | Sciencx - Friday October 29, 2021, https://www.scien.cx/2021/10/29/set-python3-as-a-default-on-macos/
HARVARD
yosi.eth | Sciencx Friday October 29, 2021 » Set Python3 as a default on MacOS., viewed ,<https://www.scien.cx/2021/10/29/set-python3-as-a-default-on-macos/>
VANCOUVER
yosi.eth | Sciencx - » Set Python3 as a default on MacOS. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/10/29/set-python3-as-a-default-on-macos/
CHICAGO
" » Set Python3 as a default on MacOS." yosi.eth | Sciencx - Accessed . https://www.scien.cx/2021/10/29/set-python3-as-a-default-on-macos/
IEEE
" » Set Python3 as a default on MacOS." yosi.eth | Sciencx [Online]. Available: https://www.scien.cx/2021/10/29/set-python3-as-a-default-on-macos/. [Accessed: ]
rf:citation
» Set Python3 as a default on MacOS | yosi.eth | Sciencx | https://www.scien.cx/2021/10/29/set-python3-as-a-default-on-macos/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.