The following is what I needed to do to get Python going on my M1 Mac mini to the extent that I could run code from Chapter 2 of Introduction to Machine Learning with Python.
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh
bash Miniforge3-MacOSX-arm64.sh
conda install scipy matplotlib ipython scikit-learn pandas pillow
conda install -c conda-forge jupyterlab
I also needed to get Graphviz installed. I have MacPorts installed, so I did this:
sudo port install graphviz
conda install graphviz
I have a library I use to get data. I installed this using pip
.
pip install wrds2pg
Good catch. I forgot I had this gist when I was reinstalling Python today. So nice timing.