Skip to content

Files for creating the Python environment used in the Geo-Python course

License

Notifications You must be signed in to change notification settings

bryanvallejo16/python-environments

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using mamba to create the Geo-Python environment

Starting steps

This briefly describes how to install a Python virtual environment for the Geo-Python 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 Python environments from GitHub
    git clone https://github.com/geo-python/python-environments.git
  4. Change into the working directory with the cloned environment files
    cd python-environments

Creating the environment for students

  1. Create the python environment using mamba
    mamba create -n geo-python-student
    mamba env update -n geo-python-student --file geo-python-student.yml
  2. Activate the new environment and update JupyterLab
    conda activate geo-python-student
    sh postBuild

Creating the environment for teachers

  1. Create the python environment using mamba
    mamba create -n geo-python-teacher
    mamba env update -n geo-python-teacher --file geo-python-teacher.yml
  2. Activate the new environment and update JupyterLab
    conda activate geo-python-teacher
    sh postBuild

About

Files for creating the Python environment used in the Geo-Python course

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published