-
How to update Python on Mac os?
How to update Python on Mac os?
-
-
Re: How to update Python on Mac os?
MacOS already ships with python pre-installed.
If you want newer versions, I suggest to use brew - you can then just run brew install python3.
A more click-friendly alternative is the anaconda distribution - personally, I dislike it as it tends to muddle with things it should not muddle with.
Installation from source is also possible, but if you have to ask how, this is not a solution I suggest.
-
-
Re: How to update Python on Mac os?
I recently updated my Python version from 2.7.1 to 3.7. I can say that it is not so simple to find instructions how to do this. I used this article from https://osxtips.net/how-to-update-python-on-mac/ there are two ways how to update Python.Everything is quite fast and clear.
-
-
OMF Member
Re: How to update Python on Mac os?
HI......!
$ python --version Python 2.7.15
$ xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew doctor Your system is ready to brew
$ brew install python3
$ python3 --version Python 3.7.0.
-
-
OMF Member
Re: How to update Python on Mac os?
-
-
OMF Member
Re: How to update Python on Mac os?
Run the downloaded file and install Python 3.X on Mac.
Python three.6.X requires about 100MB of to be had disk area. The installation process may be very fast;
When Python three is hooked up, you may see the Python3 folder in /Applications to your Mac.
-
-
OMF Member
Re: How to update Python on Mac os?
Go to Python.Org downloads web page here and download the contemporary Python installer package deal.
Run the Python installer package and install Python 3 onto the Mac.
-
-
Re: How to update Python on Mac os?
The default Python on OS X should not be corrupted because it uses it. If the default is 2.6.1, you must have Snow Leopard. The experts at salvagedata showed that you first need to install Homebrew (the missing package manager for macOS); if you don't have it: type this in your terminal
/usr/bin/ruby -e ""$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install).""Now you can upgrade your Python to Python 3 with this command brew install python3 && cp /usr/local/bin/python3 /usr/local/bin/python .Python 2 and python 3 can coexist to open python 3, type python3 instead of python. This is the easiest and best way.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules