Unidata Python Gallery
This is a collection of examples published in the Unidata blogs or just contributed. In addition to viewing them on the blog you can view them rendered at the web gallery, where you can also download the examples as Jupyter notebooks.
Installation Instructions
The current list of dependencies for this collection is:
The easiest way to install these libraries is with conda.
- Install Miniconda (Python 3.4) from Continuum Analytics. (Determine if your OS 32 or 64 bit)
- Once Miniconda is installed, from the command line (e.g., OS X terminal, cmd.exe), run these instructions to clone the repository and create the environment:
git clone https://github.com/Unidata/python-gallery
cd python-gallery
conda env create -f environment.yml
From a Unix command line (e.g., OS X terminal)
If your default shell is NOT bash, first type bash
.
To activate or switch to a conda environment, you can source activate <environment>
. For example,
source activate gallery
To switch and/or deactivate environments:
source deactivate
source activate <environment>
From a Windows command line (e.g., cmd.exe)
To activate or switch to a conda environment, you can activate <environment>
. For example,
activate gallery
To switch and/or deactivate environments:
deactivate
activate <environment>