
I have a folder called projects and I created a sub-folder called ForAIML We can now set up an environment for machine learning. Setting up a Machine Learning environment
Anaconda for mac m1 install#
This is probably a good point to install the Xcode command line tools, these include many useful tools such as the Apple LLVM compiler, linker, and Make for compiling executable software from source code. The Terminal prompt includes (base) because we are in the base python installation environment. Type "help", "copyright", "credits" or "license" for more information. You can check the installation using these commands in the Terminal (base) ~ % echo $PATHĬheck you have the arm version installed (base) ~ % python Here is the link for miniconda for Apple Silicon. There is no need to set the PYTHONPATH environment variable. Install Anaconda or Miniconda normally (I used miniconda), and let the installer add the conda installation of Python to your PATH environment variable. You may need to install the Xcode Command line tools, details are in the link above. I'm using home-brew and conda to install and manage compatibility and dependences, detailed notes on installation are on the instructions for install cheminformatics tools on a Mac.

The details of the machine are shown below, macOS Monterey version 12.5.1 I've tried to document every step so apologies if it is too detailed. I'm not an expert in AI but I thought I'd go through the process of setting up an Apple Silicon MacBook Pro M1 max for machine learning using python. One of the questions I'm regularly asked is can you run data analysis/machine learning/Artificial Intelligence jobs on Apple Silicon machines.


Setting up ML and AI tools on Apple Silicon
