Skip to content

Instantly share code, notes, and snippets.

@t-book
Last active April 15, 2018 15:40
Show Gist options
  • Save t-book/ccc2f8d6e2c3b735e76c9b779152ee39 to your computer and use it in GitHub Desktop.
Save t-book/ccc2f8d6e2c3b735e76c9b779152ee39 to your computer and use it in GitHub Desktop.
alternative pip install for geonode 2.8
$ cd my_geonode
# install pip requirements line by line and exclude pygdal
$ cat requirements.txt | grep -v "pygdal" | xargs -n 1 pip install
# install geonode project
$ pip install -e git://github.com/GeoNode/[email protected]#egg=geonode
$ pip install -e .
# install the correct pygdal version
$ gdal-config --version | cut -c 1-5 | xargs -I % pip install 'pygdal>=%.0,<=%.999'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment