Reinstalling Python

less than 1 minute read

Often I find myself lost on everything I need to reinstall when using a fresh OSX installation. Assuming a preference for homebrew over anaconda this should be a rigorous list

$ python3 -m pip install --upgrade pip
$ brew install numpy --with-python3
$ brew install scipy --with-python3
$ python3 -m pip install jupyter pandas matplotlib h5py

Note: If you don’t have admin write access then use install --user instead.

Python Version: swap python3 for python to the system’s default version