Skip to content

The Code Master

The more you teach, the more you learn.

Luciano Sampaio

Luciano Sampaio
  • YouTube
  • Twitter
  • Linkedin
  • Github

Pages

  • About Me
  • Good Reading

Categories

  • ASP.NET
  • C#
  • Eclipse
  • Java
  • JavaScript
  • Mac OS X
  • Python
  • Security
  • Sorting Algorithms

Recent Posts

  • How to install and setup Python3 as the default version in Mac OS
  • How to improve performance of the Eclipse IDE in Mac OS
  • How to make Mac OS QuickLook display the content of text files
  • How to install Maven in Mac OS using HomeBrew
  • Early Vulnerability Detection for Supporting Secure Programming

Recent Comments

  • Eswar Kommu on Bubble Sort Algorithm using Generics in Java
  • Luciano Sampaio Martins de Souza on How to make Mac OS QuickLook display the content of text files
  • John Marohn on How to make Mac OS QuickLook display the content of text files
  • amalan on Early Vulnerability Detection for Supporting Secure Programming
  • Luciano Sampaio on Early Vulnerability Detection for Supporting Secure Programming

Share Buttons

Share on twitter
Twitter
Share on stumbleupon
Stumbleupon
Share on google
Google
Share on linkedin
Linkedin
Share on facebook
Facebook

Category: Python

How to install and setup Python3 as the default version in Mac OS

Install Python3:

Run the following command in terminal:

brew install python3

Add 2 alias in the ~/.bash_profile file:

# Set pip3 and python3 as default.
alias python=python3
alias pip=pip3

Posted on July 31, 2019July 31, 2019Categories Mac OS X, PythonLeave a comment on How to install and setup Python3 as the default version in Mac OS
Proudly powered by WordPress