From 20c7152be4b2bcb8ba1a1439fb7a5562a065aeee Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Thu, 14 Sep 2023 19:10:53 +0200 Subject: [PATCH] Update setup instructions and environment (#63) --- docs/setup.md | 7 ++++--- docs/slides.html | 2 +- environment.yml | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/setup.md b/docs/setup.md index 3320cb5..14e2d2d 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -48,7 +48,7 @@ the *base (root) environment*, click the arrow next to it and click `Open termin Type following command + ENTER-button (make sure you have an internet connection): ``` -conda update -n root conda +conda update -n base conda ``` and respond with *Yes* by typing `y`. Packages should be updated after the completion of the command. @@ -64,10 +64,9 @@ an [`environment.yml` file](https://raw.githubusercontent.com/jorisvandenbossche ``` name: DS-geospatial channels: -- defaults - conda-forge dependencies: -- python=3.10 +- python=3.11 - geopandas - ... ``` @@ -98,6 +97,8 @@ the *base (root) environment*, click the arrow next to it and click `Open termin Type following commands line by line + ENTER-button (make sure you have an internet connection): ``` +conda install -n base conda-libmamba-solver +conda config --set solver libmamba conda config --add channels conda-forge conda config --set channel_priority strict cd FOLDER_PATH_TO_ENVIRONMENT_FILE diff --git a/docs/slides.html b/docs/slides.html index 684f010..21e2c0a 100644 --- a/docs/slides.html +++ b/docs/slides.html @@ -13,7 +13,7 @@ # Python for GIS and Geoscience Doctoral schools of Ghent University
-November 21, 23 and 25, 2022 +September 20-22, 2023 Joris Van den Bossche, Stijn Van Hoey diff --git a/environment.yml b/environment.yml index 402cd73..613b332 100644 --- a/environment.yml +++ b/environment.yml @@ -7,10 +7,10 @@ dependencies: - jupyter - jupyterlab>3 - numpy - - pandas + # pinning pandas temporary because 2.1 causes warnings with geopandas and seaborn + - pandas=2.0 - xarray - geopandas - - pygeos - rasterio - owslib - rasterstats