- How To Update Python Version On Mac
- How To Update Python Version In Mac
- How To Update Python Mac Terminal
- Install Python 3 On Mac
- How To Update Python Macos
This post has been updated on How to Update Python 3.6 to Python 3.8 on Mac OS. This post will be removed end of this month. Python Official Site. 1) Open up Python official download site. It looks something like the image below. Press Download Python 3.7.4 or the version you would like to download. 2) Use the download installer to install. To update macOS from the command line, first launch Terminal, which can be found in the Applications/Utilities folder. This will open a Terminal window and a command prompt for you to begin typing.
Maria Campbell provides a post on installing the latest version of Python on Mac OS Catalina and overriding the old default pre-installed version. And it even uses Homebrew and not some gnarly steps.
I finally did it. I successfully installed Python
version 3.7.7
via Homebrew
on my Maclaptop with OS Catalina
installed.
For those of you that still might be trying to figure out how to do this, I will walk you through.
The reason why I was eager to make sure that I had the latest version installed was because I am working on publishing (open-source) teaching-related documentation
on Read The Docs
, and I need to have Python
installed in order to be able to install the programs necessary to publish
there.
The default 2.7.17
version of Python
was retired this past January 2020
. I had tried back then to replace it with Python 3+
, but was unsuccessful at the time.
They key appears to be also adding the following at the bottom of the .zshrc
file to update the path
to the newly installed version of Python
via Homebrew
:
See all the steps in the blog post here and podcast here.
Learn how to upgrade Python 3.6 to Python 3.7 or 3.8 on Mac OS.
Python Official Site
How To Update Python Version On Mac
1) Open up Python official download site. It looks something like the image below. Press Download Python 3.7.4
(release date was July 8, 2019) or Download Python 3.8.0
(release date was Oct. 14, 2019) or the version you would like to download.
2) Use the download installer to install Python 3.7. You can refer to How to Install Python3 article for more information.
Homebrew
If you use Homebrew, you can run brew install
command to update Python to Python 3.7
Verification
After you install, python3 command will point to Python 3.7
. You can verify by using commands below.
You can use which
command to find out the location of Python 3.7
Note
How To Update Python Version In Mac
You can check out How to Install Pip article to learn how to install Pip.
Support Jun
Thank you for reading!
How To Update Python Mac Terminal
If you are preparing for Software Engineer interviews, I suggest Elements of Programming Interviews in Java for algorithm practice. Good luck!
Install Python 3 On Mac
You can also support me by following me on Medium or Twitter.
How To Update Python Macos
Feel free to contact me if you have any questions.