Anaconda Individual Edition contains condaand Anaconda Navigator,as well as Python and hundreds of scientificpackages. When you installed Anaconda,you installed all these too.
- Download Anaconda Distribution For Mac
- Install Anaconda Mac Os
- Anaconda Python Mac
- Anaconda 3 Mac Download
Step 1: download Anaconda You can go here to download Anaconda. Then scroll down a little to the part that says “Anaconda 2019.03 for macOS Installer.” You’ll need to know which version of Python you have, so go to your terminal and type. Anaconda for Mac, free and safe download. Anaconda latest version: Python-based data science platform. Anaconda is a data science platform based around.
Conda works on your command line interface such asAnaconda Prompt on Windows and terminal on macOS and Linux.
Navigator is a desktop graphical user interface thatallows you to launch applications and easily manageconda packages, environments, and channels withoutusing command-line commands.
You can try both conda and Navigatorto see which is right for you to manage your packages andenvironments. You can even switch between them, and the work youdo with one can be viewed in the other.
Try this simple programming exercise, with Navigator and thecommand line, to help you decide which approach is right for you.
When you’re done, see What’s next?.
Your first Python program: Hello, Anaconda!¶
Use Anaconda Navigator to launch an application. Then, create and runa simple Python program with Spyder and Jupyter Notebook.
Open Navigator¶
Choose the instructions for your operating system.
- Windows.
- macOS.
- Linux.
Windows
From the Start menu, click the Anaconda Navigator desktop app.
macOS
Open Launchpad, then click the Anaconda Navigator icon.
Linux
Open a terminal window and type
anaconda-navigator
.Run Python in Spyder IDE (integrated development environment)¶
Tip
Navigator’s Home screen displays several applications for you tochoose from. For more information, see links at the bottom of this page.
- On Navigator’s Home tab, in the Applications pane on the right, scrollto the Spyder tile and click the Install button to install Spyder.NoteIf you already have Spyder installed, you can jump right to theLaunch step.
- Launch Spyder by clicking Spyder’s Launch button.
- In the new file on the left, delete any placeholder text, then type orcopy/paste
print('HelloAnaconda')
. - In the top menu, click File - Save As and name your new program
hello.py
. - Run your new program by clicking the triangle Run button.
- You can see your program’s output in the bottom right Console pane.
Close Spyder¶
From Spyder’s top menu bar, select Spyder - Quit Spyder (In macOS,select Python - Quit Spyder).
Run Python in a Jupyter Notebook¶
- On Navigator’s Home tab, in the Applications pane on the right, scrollto the Jupyter Notebook tile and click the Install button to install JupyterNotebook.NoteIf you already have Jupyter Notebook installed, you can jump right tothe Launch step.
- Launch Jupyter Notebook by clicking Jupyter Notebook’s Launch button.This will launch a new browser window (or a new tab) showing theNotebook Dashboard.
- On the top of the right hand side, there is a dropdown menu labeled “New”.Create a new Notebook with the Python version you installed.
- Rename your Notebook. Either click on the current name and edit it orfind rename under File in the top menu bar.You can name it to whatever you’d like, but for this example we’ll useMyFirstAnacondaNotebook.
- In the first line of the Notebook, type or copy/paste
print('HelloAnaconda')
. - Save your Notebook by either clicking the save and checkpointicon or select File - Save and Checkpoint in the top menu.
- Run your new program by clicking the Run button or selectingCell - Run All from the top menu.
Close Jupyter Notebook¶
- From Jupyter Notebooks top menu bar, select File - Close and Halt.
- Click the Quit button at the upper right of the Notebook Dashboardand close the window or tab.
Close Navigator¶
From Navigator’s top menu bar, select Anaconda Navigator - QuitAnaconda-Navigator.
Write a Python program using Anaconda Prompt or terminal¶
Open Anaconda Prompt¶
Choose the instructions for your operating system.
- Windows.
- macOS.
- Linux.
Windows
From the Start menu, search for and open “Anaconda Prompt”:
macOS
Open Launchpad, then click the terminal icon.
Linux
Open a terminal window.
Start Python¶
At Anaconda Prompt (terminal on Linux or macOS), type
python
and press Enter.The
>>>
means you are in Python.Write a Python program¶
At the
>>>
, type print('HelloAnaconda!')
and press Enter.When you press enter, your program runs. The words “Hello Anaconda!” print tothe screen. You’re programming in Python!
Exit Python¶
Download Anaconda Distribution For Mac
On Windows, press CTRL-Z and press Enter. On macOS or Linux type
exit()
and press Enter.Optional: Launch Spyder or Jupyter Notebook from the command line¶
- At the Anaconda Prompt (terminal on Linux or macOS), type
spyder
and press Enter.Spyder should start up just like it did when you launched itfrom Anaconda Navigator. - Close Spyder the same way you did in the previous exercise.
- At the Anaconda Prompt (terminal on Linux or macOS), type
jupyter-notebook
and press Enter.
Jupyter Notebook should start up just like it did when you launchedit from Anaconda Navigator. Close it the same way you did in theprevious exercise.
What’s next?¶
Using Navigator¶
Using conda¶
Using Spyder¶
Using Jupyter Notebook¶
Links to IDE documentation¶
Getting started with JupyterLab
The installation guide contains more detailed instructions
Install with conda
If you use
conda
, you can install it with:Install with pip
If you use
pip
, you can install it with:If installing using
pip install --user
, you must add the user-level bin
directory to your PATH
environment variable in order to launch jupyter lab
. If you are using a Unix derivative (FreeBSD, GNU / Linux, OS X), you can achieve this by using export PATH='$HOME/.local/bin:$PATH'
command.Run JupyterLab
Once installed, launch JupyterLab with:
Getting started with the classic Jupyter Notebook
conda
We recommend installing the classic Jupyter Notebook using the conda package manager. Either the miniconda or the miniforge conda distributions include a minimal conda installation.
Then you can install the notebook with:
pip
Install Anaconda Mac Os
If you use
pip
, you can install it with:Congratulations, you have installed Jupyter Notebook! To run the notebook, run the following command at the Terminal (Mac/Linux) or Command Prompt (Windows):
Anaconda Python Mac
See Running the Notebook for more details.
Getting started with Voilà
Installation
Anaconda 3 Mac Download
Voilà can be installed using
conda
or pip
. For more detailed instructions, consult the installation guide.conda
If you use
conda
, you can install it with:pip
If you use
pip
, you can install it with: