Setting up Jupyter

To use the Jupyter notebook included in the AerisWeather Python SDK, you will first have to have Jupyter installed. If you already know Jupyter then you can skip this whole section and get right to checking out the Python SDK notebook.

Python Environment

Whatever Python environment your Jupyter kernel is running from will need to have the aerisweather package installed. For our purposes, we decided to install Jupyter and run its kernel from the same Python env that we used for the SDK development. 

Install Jupyter

From a command line, run:

    python -m pip install jupyter

Now that Jupyter itself is installed, we can set up the command line shortcut that we’ll use to initialize it.

Windows Shortcut

To make things easier on us, we created a Windows shortcut to start the Jupyter kernel and default it to point to the directory containing our Python notebook. Here are the steps:

- Create a new Shortcut.

- Set the “Start In” field to:


Now when we start the Jupyter kernel, it will initialize from the same Python environment that I’m developing in.

- Set the “Target” field to:

    C:\Windows\System32\cmd.exe /k jupyter notebook --notebook-dir='C:\Projects\Python'

This will tell the Jupyter server to populate the initial homepage starting where all our Python projects live, rather than the default of C:\. That might seem like a little thing, but when you experience the performance of the Jupyter browser when it’s trying to process every file and folder in your hard drive’s root, it becomes a really nice feature...

Last modified: May 15, 2018