Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.54 KB

File metadata and controls

55 lines (34 loc) · 1.54 KB

Jupyter-Notebook-for-Lectures

Binder

For use on your own computer:

Instructions for Windows (10, 11 should be similar). Any other operating system (MAC-OS, Linux) should work very similar.

  1. Install anaconda environment for your operating system (www.anaconda.com), -> free download -> give your email address -> download

  2. After download run executable with all default settings

  3. Create local folder for all your Jupyter notebooks

  4. Open terminal window (under Windows type "anaconda prompt" in the search space bottom left)

  5. "cd" to your notebook folder. Remember "cd .." goes one folder up "cd Folder" changes into the "Folder" directory. Remember to use tab completion ...

  6. Create or modify your "environment.yml" file to:

name: seismo channels:

  • conda-forge dependencies:
  • python
  • obspy
  • numpy
  • pip
  • pip:
    • nbgitpuller
    • sphinx-gallery
    • pandas
    • matplotlib
    • jupyter
  1. Run the following command in your base environment (the > is

conda env create -f environment.yml

  1. Activate (each time you want to use the notebooks) the environment "seismo"

onda activate seismo

  1. Now you should be able to run jupyter notebooks

jupyter notebook

  1. You should now see either a file directory or a list of jupyter notebooks, just go inside the desired folder or click on the notebook.

  2. Enjoy.

  3. Remove environment from base via

conda remove -n ENV_NAME --all