Python on Mac v2

In my previous post, I showed how to install Python on Mac directly with Homebrew. This time, I'll show how to install Python using Miniconda.

$ brew install miniconda
$ conda init zsh

This installs Miniconda and sets up the necessary environment variables. You can now create a new environment and install Python packages.

$ conda create --name your-env python=3.12
2$ conda activate your-env
$ conda install jupyter
$ jupyter notebook

This creates a new environment, activates it, and installs Jupyter. You can now run Jupyter Notebook to start coding in Python.


© Mike Surowiec