Install On Mac OS X

Install Miniconda Python

There is a known issue with version 3.7 of Anaconda Python and certain versions of the Mac OSX operating system. We strongly recommend that you use python 3.6 on OSX to avoid any problems. To install python 3.6, please follow the steps below:

  1. To get started you need to download the OSX miniconda installer.

    1. Click on the link https: https://repo.continuum.io/miniconda/Miniconda3-4.5.4-MacOSX-x86_64.sh to download the Python 3.6 installer.

    2. Wait for it to download. It will place a file called Miniconda3-4.5.4-MacOSX-x86_64.sh in your downloads folder. On my computer using Safari this is ~/Downloads

  2. Open a Terminal window. If you don’t know how to do this click * Applications -> Utilities -> Terminal*

  3. Within the Terminal change directories into the folder where your downloaded file lives, i.e.

    cd ~/Downloads
    
  4. Now run the bash “shell” program to install Miniconda

    bash Miniconda3-4.5.4-MacOSX-x86_64.sh
    
  5. Scroll through the license (press the space bar to move through quickly), type ‘yes’ to approve the terms, and then accept all the installation defaults.

  6. Close the Terminal program. Then, restart it.

  7. Within the Terminal type:

    conda install pillow
    
    1. Enter y at the Proceed prompt.

    2. When the installation completes, close the Terminal window.

Install Spyder IDE and Connect It to Miniconda Python

The second half of the installation is the Spyder IDE development environment. This is the software that you use to write, edit and test your Python programs. Spyder IDE calls Python to actually run the program. Spyder is included by default in the Anaconda Python distribution, which comes with everything you need to get started in an all-in-one package.

However, with Miniconda, we have to download and install Spyder IDE.

  1. Go to the Terminal window.

  2. Type the following command:

    $ conda install spyder
    
    1. This will take some time to download.

    2. When the following prompt appears:

      Proceed ([y]/n)?
      
    3. Type y, and hit enter.

  3. Once the download is finished, type the following command to know the location of Spyder:

    $ which spyder
    

    It is usually installed in the bin folder within miniconda3

  4. To start Spyder, go to a terminal window and enter

    $ spyder
    

Detecting 64-bits versus 32-bits Mac OS X Systems

You are running 64-bit Mac OS X.

Technically, all Apple computers purchased since Q4 2006 have been equipped with 64-bit capable processors. The Mac OS X operating system has supported 64-bit by default since OS X 10.6 Snow Leopard, released in 2009. The upgrade to the latest operating system for your computer is available for free, directly from Apple, since the release of OS X 10.9 Mavericks in 2013.