Skip to content

Instantly share code, notes, and snippets.

@axel-sirota
Last active May 22, 2023 18:50
Show Gist options
  • Save axel-sirota/a6c00ace4baf470cf23565a702219919 to your computer and use it in GitHub Desktop.
Save axel-sirota/a6c00ace4baf470cf23565a702219919 to your computer and use it in GitHub Desktop.
Instructions to install Anaconda Python both in Mac and Windows

Installing Anaconda Python

Wether you arrive here by chance, or you need to install Python for our Python/ML classes @ DI; here is a solution for you. As in classes we use Jupyter notebooks, the easiest way to have all data packages + jupyter is downloading Anaconda Python, which is a mega dist with python and all the batteries included.

Mac

  1. If you come from mac, go to https://www.anaconda.com/download and click as the image shows:

anaconda-mac-install-1

  1. Click in Download and select your Mac Architecture, in my case, Intel.

anaconda-mac-install-2

  1. This will download a .pkg file, just download it and execute it

anaconda-mac-install-3

  1. It will prompt you if you trust it and if you want to run it. Click Allow:

anaconda-mac-install-4

  1. Aggree to the terms and conditions:

anaconda-mac-install-5

  1. Follow the instructions, and click Install

anaconda-mac-install-6

  1. After finishing, click continue

anaconda-mac-install-7

  1. At the end, move to Bin the installer:

anaconda-mac-install-8

  1. Open the Anaconda Navigator app. It should ook like the following:

anaconda-mac-install-9

Hin: If by any means you get an error, add the following to your ~/.bashrc or ~/.zshrc:

export PATH=~/anaconda3/bin:$PATH
  1. Launch the Jupyter Notebook button, it should look like this:

anaconda-mac-install-10

Windows

  1. If you come from Windows, go to https://www.anaconda.com/download and click as the image shows:

anaconda-download-windows-1

  1. Save the executable (.exe)

anaconda-download-windows-2

  1. Run the installer

anaconda-download-windows-3

  1. Click Next and go thorugh the installer

anaconda-download-windows-4

  1. Just install for yourself so Python doesn't need admin privilages afterwards

anaconda-download-windows-5

  1. This is the most crucial step, click the button to add anaconda to your PATH, that way you can run commands promt commands as well and have an effective session

anaconda-download-windows-6

  1. After finishing, click Next

anaconda-download-windows-7

  1. Open the Anaconda Navigator app from the windows menu. It should look like the following:

anaconda-download-windows-8

  1. Launch the Jupyter Notebook button:

anaconda-download-windows-9

  1. It should look like this:

anaconda-download-windows-10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment