Question

How to install https://www.anaconda.com/products/individual not just for Administrator?
I was trying to install it from GUI but installation for all users was disabled:

enter image description here

Was it helpful?

Solution

If you want to make Anaconda available to all Users from the Individual Edition, using the, e.g. Anaconda3-2020.07-MacOSX-x86_64.pkg package from the download link at the bottom of the linked web page, e.g. 64-Bit Graphical Installer (462 MB), then do the following:

From an Admin account...

  1. Download e.g.: Anaconda3-2020.07-MacOSX-x86_64.pkg
  2. Install it to: /Users/Shared
    • Select Install on a specific disk... and navigate to /Users/Shared on the Macintosh HD.

After the GUI install...

  1. For the User doing the original install of Anaconda, if bash is your default shell you should be set because the GUI installer sets up what's necessary in ~/.bash_profile, however, if zsh is your default shell, run the following commands1 in Terminal:

    • Note: For each additional User, steps 3 thru 5 are required regardless of your default shell.

    • 1 For each additional User setting up, if bash is your default shell just use conda init in step 3.

      source /Users/Shared/anaconda3/bin/activate
      conda init zsh
      
    • For zsh the ~/.zshrc file is created or written to in this step.

  2. Close the current Terminal window and open another.

  3. To control whether or not each shell session has the base environment activated or not, run conda config --set auto_activate_base False or True. To run conda from anywhere without having the base environment activated by default, use conda config --set auto_activate_base False. This only works if you have run conda init or conda init zsh first.


With that done, each User only has to run steps 3 thru 5 from Terminal when logged into their account to have access to what was installed by the Admin from the original GUI install of Anaconda.

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top