Setting Up eLearning Course Files
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.
- Download the environment.yml file and save it to a known location on your computer.
- Open a terminal (Linux or macOS) or Anaconda Prompt (Windows).
- Navigate to the folder where you saved environment.yml, for example:
cd C:\Users\Owner\Documents\PythonEnvironments - Run the following command to create the environment:
conda env create -f environment.yml
This process may take several minutes.
Download and extract files
- Open the supervised-ml-readiness GitHub repository in your web browser.
- At the top of the page, select the Code button, then select Download ZIP.
- 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.
- Open a terminal (Linux or MacOS) or Anaconda Prompt (Windows).
- 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. - Navigate to the folder where you extracted the GitHub repository, for example:
cd C:\Users\Owner\Documents\JupyterNotebooks - 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. - In Jupyter Lab, use the File Browser in the left sidebar to locate the .ipynb files. Double-click the file to open it.
- If prompted to select a kernel, choose Python [conda env: unidata-edhub].