stcorp / harp

Data harmonization toolset for scientific earth observation data
http://stcorp.github.io/harp/doc/html/index.html
BSD 3-Clause "New" or "Revised" License
55 stars 18 forks source link

Incompatibilities bewteen harp and geopandas #231

Closed bilelomrani1 closed 3 years ago

bilelomrani1 commented 3 years ago

It seems that harp and geopandas cannot be installed in the same conda environement.

$ conda install geopandas harp
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): \ 
...

Is there a fundamental reason why these two packages do not interact well with each other? And is there something that we can do to install harp alongside geopandas. For scripting purposes, I want to have both packages in the same env.

svniemeijer commented 3 years ago

You need to provide the stcorp channel if you want to install harp:

$ conda install -c stcorp geopandas harp
bilelomrani1 commented 3 years ago

Sorry, to clarify I added the stcorp channel globally

svniemeijer commented 3 years ago

I created a new conda environment and was able to install both packages within that environment. It did take a while for conda to solve the environment, but it succeeded in the end. If you get an error, then please show the error.

bilelomrani1 commented 3 years ago

I ended up using the following

conda install --override-channels -c stcorp -c conda-forge geopandas harp

otherwise conda took ages to resolve. Thanks for your help!