View on GitHub

pyanp

Python ANP Module and Resources

Installing and running Jupyter Notebooks

This tutorial will lead you through:

  1. What is Python, Jupyter, a Jupyter notebook, and Anaconda?
  2. Installing Anaconda, which includes Python and Jupyter
  3. Running the Jupyter notebook server on Windows, Mac, or Linux systems
  4. Creating a new Jupyter notebook, and opening existing Jupyter notebooks.
  5. Installing the pyanp library and doing a quick sample calculation to verify pyanp is installed correclty.

1. What is Python, Jupyter and a Jupyter notebook?

2. Installing Anaconda

The easiest way to install Jupyter and python altogether is to install anaconda:

  1. Download the installer from https://www.anaconda.com/download.
  2. Choose the Python 3.6 version
  3. Download and install as you normally would for your operating system.
  4. See https://docs.anaconda.com/anaconda/install/ for detailed installation instructions for each operating system (Windows, Mac, and Linux).

3. Running Jupyter

See How to run Jupyter for instructions.

4. Creating a Jupyter Notebook

After you have Jupyter running simply click on the NEW menu button in the upper right corner. See this excellent getting started medium post for more information

5. Installing pyanp

Once you have Jupyter and python installed, in a cmd window on Windows (or a terminal on Mac/Linux) run the following command

pip install pyanp

that will download the latest version of pyanp and install it automatically. Or if you want to install the bleeding edge from github do:

pip install git+https://github.com/wjladams/pyanp.git