Open '1_basics.ipynb' to begin notebook
Initial set-up (envname, kernelname, modulename = the name you want to use)
-
Download Anaconda for Python 3.7 from here:
https://www.anaconda.com/distribution/
-
Open Anaconda Prompt (Windows) or Terminal (Mac)
-
Create environment (might take 5 – 10 mins):
conda create --name envname python=3.7 anaconda
-
Activate environment (should take < 10 s):
conda activate envname
-
Create kernel (should take < 10 s):
python -m ipykernel install --user --name kernelname
-
Install modules not in anaconda (option for future, might take time depending on size of module):
pip install modulename
-
Navigate to the working directory/folder you downloaded all of the files in this repository to (different syntax for Windows and Mac, Google ‘terminal navigation commands’ for help):
cd Desktop/geo_py
-
Open Jupyter Notebook in folder you’ve navigated to (should take < 10 s):
jupyter notebook
Working set-up
-
Open Anaconda prompt (Windows) or Terminal (Mac)
-
Activate environment (should take < 10 s):
conda activate envname
-
Navigate to working directory/folder (different syntax for Windows and Mac, Google ‘terminal navigation commands’ for help):
cd Desktop/geo_py
-
Open Jupyter Notebook (should take < 10 s):
jupyter notebook
-
Internet browser should open Jupyter Notebook, if it doesn’t open Anaconda Prompt or Terminal will provide a link to copy and paste in the browser