Closed lalessan closed 3 years ago
@lalessan see #505 for details about our compatibility. You are correct right now 2.4.4 is required.
I would encourage you to remove the conda environment and try again, but do the conda install of gdal first so that it can use the conda channel priority stuff for all its dependencies.
$ conda create -n rasterframes python==3.7
$ conda activate rasterframes
(rasterframes) $ conda install -c conda-forge gdal==2.4.4
(rasterframes) $ pip install pyrasterframes==0.9.0
Thank you, that has worked. For some reason I had to manually set the LD_LIBRARY_PATH to include gdal and dependencies located in the conda env folder.
okay @lalessan i will close this issue
I am trying to use pyrasterframes, but I have been unable to, do to gdal. I am not administrator of the server so I can not use the docker, unfortunately.
Here is the steps I followed:
1) I asked the system administrator to install gdal libs as recommended in the documentation.
These were correctly installed. By running
I get: GDAL 3.0.4, released 2020/01/28
2) I created a conda environment with Python 3.7
3) I installed rasterframes using pip:
Here pyrasterframes tries to install gdal 2.4.4 as a dependency, but that does not work (I believe due to gdal 3.0.4?). I get an error:
error: command 'gcc' failed with exit status 1
4) I also tried to install gdal 2.4.4 using conda:
That does not work either, due to some incompatible packages (not sure which ones, though):![image](https://user-images.githubusercontent.com/11299960/101069353-295b0a00-359a-11eb-9750-df5ec83b733d.png)
5) When I open a jupyter notebook and run:
I get: 'not available'
Is it possible to install rasterframes using the latest version of the gdal system libraries?
Thank you