geoviews icon indicating copy to clipboard operation
geoviews copied to clipboard

Add non-conda install instructions

Open philippjfr opened this issue 4 years ago • 5 comments

A user just posted these instructions for installing without conda, we should clean them up and document them properly:

# Install GDAL and Geopandas
!apt install gdal-bin python-gdal python3-gdal --quiet
!apt install python3-rtree --quiet
!apt install libgdal-dev libproj-dev --quiet
!apt install libgeos-dev
!pip install git+git://github.com/geopandas/geopandas.git --quiet
!pip install descartes --quiet
!pip install splot hvplot geoviews --quiet

philippjfr avatar Feb 10 '20 15:02 philippjfr

Any thoughts on where such information should go? Talking to @jbednar, it sounds like we should have a 'Using HoloViz' page on holoviz.org where we can document 1) the jupyterlab extension 2) using other environments such as Colab, VSCode, Hydrogen etc 3) maybe mention alternative deployment options such as Django, Flask etc?

Then all the projects could point to this page. I also think it would be a good idea to show all the different platforms/ways you can use HoloViz in one place.

jlstevens avatar Feb 10 '20 17:02 jlstevens

I was specifically thinking of adding a section on installing the heavy geo-dependencies for GeoViews without conda but I agree that HoloViz might be the most appropriate place to document how to use our tools in different environments (and in how far we support each) on HoloViz and then link to that section from all the installation and getting started guides.

philippjfr avatar Feb 10 '20 17:02 philippjfr

The "Using HoloViz" guide should also mention classic Jupyter, emphasizing both that we support it well and also that it is never required for any project.

jbednar avatar Feb 10 '20 17:02 jbednar

I want to change a little bit of the code since shapely sometimes crashes colab:

!apt install python-cartopy python3-cartopy --quiet
!apt install gdal-bin python-gdal python3-gdal --quiet
!apt install python3-rtree --quiet
!apt install libgdal-dev libproj-dev --quiet
!apt install libgeos-dev
!pip install git+git://github.com/geopandas/geopandas.git --quiet
!pip install descartes --quiet
!pip install urbanaccess pandana pysal --quiet
!pip install splot hvplot geoviews --quiet
!pip install --no-binary shapely shapely --upgrade --force-reinstall --quiet

I have tested several times, it works like charm.

zouhx11 avatar Feb 11 '20 06:02 zouhx11

It works perfectly. Thank you very much!!!

bcgru avatar Apr 18 '21 18:04 bcgru