From 8cd18100603738065872b375c4a643ecfb843b88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20Sch=C3=B6nbuchner?= Date: Sat, 21 Jul 2018 08:59:27 +0200 Subject: [PATCH] Added explanations regarding pygdal install #3784 --- docs/tutorials/install_and_admin/quick_install.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/tutorials/install_and_admin/quick_install.txt b/docs/tutorials/install_and_admin/quick_install.txt index 22e6a773f98..84b637c3773 100644 --- a/docs/tutorials/install_and_admin/quick_install.txt +++ b/docs/tutorials/install_and_admin/quick_install.txt @@ -102,13 +102,13 @@ This option installs geonode in a virtual environment. This option is very usefu sudo add-apt-repository ppa:ubuntugis/ppa && sudo apt-get update sudo apt-get install gdal-bin - # check GDAL version - gdalinfo --version + + # install the correct PyGDAL version + gdal-config --version | cut -c 1-5 | xargs -I % pip install 'pygdal>=%.0,<=%.999' - # install the correct PyGDAL version (>1.10.1) - pip install pygdal==`gdal-config --version` - - # if you cannot find exactly the same version, be sure to install at least the closer major one e.g. 2.1.2 -> 2.1.2.3 + # if the command cannot install a suitable version, be sure to install at least the closer major one e.g. 2.1.2 -> 2.1.2.3 + # gdalinfo --version + # pip install pygdal==`gdal-config --version` You can now setup and start GeoNode::