Install the Unidata Python Environment

You only need to complete these steps once. The unidata-edhub environment is required for all Jupyter resources on NSF Unidata eLearning.

  1. Download the environment.yml file and save it to a known location on your computer.
  2. Open a terminal (Linux or macOS) or Anaconda Prompt (Windows).
  3. Navigate to the folder where you saved environment.yml, for example: 
    cd C:\Users\Owner\Documents\PythonEnvironments
  4. Run the following command to create the environment: 
    conda env create -f environment.yml 
    This process may take several minutes.

Download and extract files 

  1. Open the supervised-ml-readiness GitHub repository in your web browser.
  2. At the top of the page, select the Code button, then select Download ZIP.
  3. After downloading, extract the files to a known location on your computer. 

Open Jupyter Lab 

Optional, these instructions are also included in each module's instructions.

  1. Open a terminal (Linux or MacOS) or Anaconda Prompt (Windows).
  2. Activate the unidata-edhub environment: 
    conda activate unidata-edhub
    If you see the error EnvironmentNameNotFound: Could not find conda environment: unidata-edhub, follow the steps in the previous section to set up the environment.
  3. Navigate to the folder where you extracted the GitHub repository, for example: 
    cd C:\Users\Owner\Documents\JupyterNotebooks
  4. Start Jupyter Lab: 
    jupyter lab
    Jupyter Lab opens in a new browser tab. 

    Important:
    Keep the terminal or Anaconda Prompt window open while using Jupyter Lab.
  5. In Jupyter Lab, use the File Browser in the left sidebar to locate the .ipynb files. Double-click the file to open it.
  6. If prompted to select a kernel, choose Python [conda env: unidata-edhub].