
Many will include both Python 2 and Python 3. There are several ways to install Python on Linux, that is if you need to install it at all! Check what’s installed first Just like with Windows, you should ensure that Python is added to your system’s PATH. The downside to this approach is that you won’t get automatic updates. It’s easy and works like the installation of any other MacOS software program. If you chose to install Homebrew, installing Python on MacOS is as easy as: $ brew install python Code language: Bash ( bash ) Official installerĪlternatively, you can download an installer from the Python download website. If that’s completely new to you, I recommend the next option for now: using the official installer. However, you need to be comfortable using a command-line shell to use Homebrew.

On most versions of MacOS before Catalina, a distribution of Python is already included. After that, follow the Linux installation instructions below! Installation on MacOS To install in WSL, you’ll first need to install WSL itself.

It offers me the advantages that Windows offers (mainly great hardware support) while still enjoying Linux, which is, in my opinion, the best platform for Python development. It’s what I use myself, and I truly love it.

If you’re familiar with Windows Subsystem For Linux, you may also want to consider that option. When you use this installer, make sure you mark the checkbox that says ‘Add Python to PATH’: Make sure you mark the checkbox ‘ Add Python to PATH‘ Inside WSL This method does not give you automatic updates, and I recommend it only if you don’t have access to the Microsoft store. You can download a Python installer from the official Python download website too. open the Microsoft store and search for Python.This is the recommended way to install Python on Windows because it handles updates automatically and can be uninstalled easily too. Microsoft hosts a community release of Python 3 in the Microsoft Store. There are three methods you can choose from on Windows.
