Skip to content

RUG-Elective/Notebooks_official

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Follow the course through Binder: Weeks 1&2

RUG-Elective/Notebooks

Using mamba to create the Geo-Python environment

Starting steps

This briefly describes how to install a Python virtual environment for the Geospatial course.

  1. Install miniconda from https://docs.conda.io/en/latest/miniconda.html
  2. Install mamba
    conda install mamba -n base -c conda-forge
  3. Clone the course from GitHub
    https://github.com/RUG-Elective/Notebooks_official.git
  4. Change into the working directory with the cloned environment file (yml)
    cd python-environments

Creating the environment for students

  1. Create the python environment using mamba
    mamba env create -f geospatial-student.yml
  2. Activate the new environment
    conda activate geospatial-student
  3. Install JupyterLab
    pip install jupyterlab
  4. Install a new kernel (ipykernel) for the virtual environment
    pip install ipykernel
  5. Register the environment as a kernel, give it a name and a display name
    python -m ipykernel install --user --name geospatial-student --display-name "Python (geospatial-student)"
  6. Run Jupyterlab
    jupyter lab

About

All course notebooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors