The notebook is designed to be launched from Binder.
Click the Launch Binder button at the top level of the repository
You may also download the notebook from GitHub to run it locally:
-
Open your terminal
-
Check your conda install with
conda --version
. If you don't have conda, install it by following these instructions (see here) -
Clone the repository
git clone https://github.com/eds-book-gallery/95199651-9e81-4cae-a3a7-66398a9a5f62.git
-
Move into the cloned repository
cd 95199651-9e81-4cae-a3a7-66398a9a5f62
-
Create and activate your environment from the
.binder/environment.yml
fileconda env create -f .binder/environment.yml conda activate 95199651-9e81-4cae-a3a7-66398a9a5f62
-
Launch the jupyter interface of your preference, notebook,
jupyter notebook
or labjupyter lab
Following the guidelines in DeepForest documentation, for Mac M1 and M2 users, you may need to install the geopandas
package via conda after the step 5. You can do this by running the following command:
conda install -c conda-forge geopandas
The How to run section was adapted from the Project Pythia Cookbook project.