IPython Jupyter Notebooks for the June 2019 Python ppd course
To interact with the course notebooks requires five steps:
If you are using a UEA laptop, install Anaconda from the UEA software centre
If you are using a personal laptop, install it following these instructions
Clone this repo with git or download as a zip file using the green button then unzip the folder
3.1. Make sure Anaconda is installed and the course materials are downloaded
3.2. Open the command line (e.g., OS X terminal on Mac; Anaconda prompt on Windows)
3.3. Navigate to the cloned / downloaded folder (using cd command), for example:
cd C:\Users\myname\Downloads\ppd_python\
if you don't know where you are in the terminal type dir on Windows or pwd on Linux/Mac
3.4. Create the environment using conda package manager:
conda env create -f environment.ymlThis will take some time depending on your Internet speed (<15 minutes).
If your default shell is NOT bash, first type bash. Activate the relevant environment by typing:
source activate ppd_pythonif this fails try
conda activate ppd_pythonStill in the command line (Anaconda prompt), type:
activate ppd_python
Once the environment is activated, type
jupyter notebook
in the command line. This should open Jupyter Notebooks in your browser. If you're not sure what you should see, check one of the links below
If the command line is not doing what you want you may find the graphical interface provided by Anaconda Navigator more convenient. This will have installed with Anaconda earlier. Instructions for building and activating environments can be found via a search engine of your choice
Alternativly, experience Python from the comfort of your browser!
- View a static version online with nbviewer
- Launch the notebooks interactively in the cloud with Binder
may take a few minutes to load