Skip to content

Latest commit

 

History

History
59 lines (48 loc) · 3.03 KB

Anaconda_Python_Installation_and_Jupyter_Notebook.md

File metadata and controls

59 lines (48 loc) · 3.03 KB

Anaconda Python Installation and Jupyter Notebook

Python

Python is already installed on MAC and Linux machines. To overcome the issue of outdated and/or multiple versions of python, we will use anaconda to install python version 3.x, and to run jupyter notebooks (explained later).

Anaconda - Installation

MAC

Windows

Linux

Anaconda - Usage

Open Anaconda navigation to check the tools that it provides: https://docs.anaconda.com/anaconda/navigator/ One of those tools is jupyter notebook that will be used to run python code. Please check the user guide for more details: https://docs.anaconda.com/anaconda/user-guide/

Jupyter Notebook

Jupyter notebook is a web application to create and share documents. A notebook document can contain code, text, equations and/or visualizations. You can use jupyter notebook to write, execute and document python code. Though there are multiple ways to install and run jupyter notebook, Anaconda is the preferred way to run jupyter. After installing anaconda (version 3.x), you can follow the steps below to start jupyter notebook.

A good resource to familiarize yourself with Jupyter Notebook: How to Use Jupyter Notebook in 2020: A Beginner’s Tutorial

Anaconda Jupyter Notebook

MAC,Windows, and Linux

MAC and Linux Terminal

If you like to start jupyter from the terminal instead of the instruction above:

  • open a new terminal
  • in the command line run "jupyter notebook"
  • jupyter notebook will be opened in your default browser. If it did not, then using any browser navigate to http://localhost:8888

Windows users can start Jupyter Notebook by searching “Jupyter Notebook (anaconda)” in their Windows search bar. This action opens a terminal, which automatically opens the web based Jupyter Notebook application. I am not sure if this function is available for MAC and Linux.