Skip to content

Instantly share code, notes, and snippets.

@jbott
Last active May 21, 2023 11:36
Show Gist options
  • Save jbott/c32ca2c9b963a25ec91d2ae49056205e to your computer and use it in GitHub Desktop.
Save jbott/c32ca2c9b963a25ec91d2ae49056205e to your computer and use it in GitHub Desktop.
  1. Download latest Miniconda for Python 2.7
https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh
  1. Open terminal

  2. Change to download folder location

$ cd Downloads

You can confirm you are in the correct location by running the ls command to list files.

  1. Set install script to executable
$ chmod +x Miniconda2-latest-MacOSX-x86_64.sh
  1. Run miniconda install
$ ./Miniconda2-latest-MacOSX-x86_64.sh
  1. Accept license agreement (to exit license agreement viewer, press q when you see the bottom line starting with :)

  2. Confirm default install location (enter)

  3. Confirm adding the miniconda install location to PATH (yes, which should be default)

  4. Close current terminal window and open a new one to load the new install

  5. Install needed conda packages

$ conda install [package]

EX:
$ conda install pil
@bulbuntu
Copy link

bulbuntu commented Apr 5, 2018

Is it OK to install miniconda in the users home directory, that is what it defaults to.
Thanks,
-kaza.

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