Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

general

How to get the Anaconda prompt on macOs

Sarvech Qadir
The Anaconda board
The Anaconda board

Anaconda prompt is similar to a terminal or command prompt (cmd). It refers to a black screen used to type in the commands by the user.

You can download conda using a GUI installer.

Let’s look at series of steps to install Anaconda using the terminal in macOS.

Step 1

Make sure you have installed a command-line version of the macOS installer for your system.

Step 2

Instal Python version 3.7:

bash ~/Downloads/Anaconda3-2020.02-MacOSX-x86_64.sh

Write bash as part of your command even if you are not using a Bash shell.

~/Downloads represents your actual path where the file was downloaded, and Anaconda3-2020.02-MacOSX-x86_64.sh is the name of the file you downloaded. You can replace them with your directory and the version you want to download.

Step 3

The installer will show the following prompt:

To continue the installation process, please review the license agreement.

Click Enter to view the license terms and enter Yes to continue. The installer may prompt you to press Enter to confirm the location of where anaconda needs to be installed. The following will then be displayed:

PREFIX=/home/<user>/anaconda<2 or 3>

This may take a few minutes.

Step 4

The installer will show the following message:

Do you wish the installer to initialize Anaconda3 by running conda init.

Type yes to continue. This will ensure that conda will successfully modify the shell. Even if you type No, you can initialize Anaconda3 by runningsource <path to conda>/bin/activate and then running conda init.

If a user is using zsh, then run the following command in path/bin/:

conda init zsh

Step 5

The installer will display the following message:

Thank you for installing Anaconda!

RELATED TAGS

general

CONTRIBUTOR

Sarvech Qadir
Copyright ©2022 Educative, Inc. All rights reserved
RELATED COURSES

View all Courses

Keep Exploring