kvos / CoastSat

Global shoreline mapping tool from satellite imagery
http://coastsat.wrl.unsw.edu.au/
GNU General Public License v3.0
664 stars 245 forks source link

Conflict when installing Pyfes in coastsat env #259

Closed ricsatjr closed 1 week ago

ricsatjr commented 2 years ago

I noticed the environment.yml has its latest commit from 11 months ago. Are the package versions listed there still compatible with the more recent updates to coastsat? Thanks.

kvos commented 2 years ago

I think they are, usually people raise issues when they are not compatible anymore and then I update the .yml file The main one that tends to loose backwards-compatibility is the earth-engine-api package

ricsatjr commented 2 years ago

ok.

I was trying to install the pyfes from fbriols' channel at anaconda so I can use the coastsat.slope for tidal correction. The installation process yielded many conflicts, which based on the output, may be because of the strict channel imposed by the environment.yml file.

Here's the last part of the installation process for pyfes:

The following specifications were found to be incompatible with your system:

Your installed version is: 2.34

Note that strict channel priority may have removed packages required for satisfiability.

kvos commented 2 years ago

yes, there is an issue on that in CoastSat.slopes https://github.com/kvos/CoastSat.slope/issues/15

ricsatjr commented 2 years ago

yes, there is an issue on that in CoastSat.slopes kvos/CoastSat.slope#15

will do the separate environment solution that you proposed. thanks.

kvos commented 2 years ago

ok, feel free to post on that other issue if it still doesn't work with a separate env. I'm still not sure how to fix that issue as the pyfes package keeps on being updated and changing the dependencies

kvos commented 2 years ago

hi @ricsatjr , just found what was going on with this error. Basically, pyfes is not compatible with python 3.8, so you need python 3.7 to install pyfes and conda will not downgrade your python to a lower version. You can try to re-install coastsat on python 3.7.

ricsatjr commented 1 year ago

Thanks @kvos ! Will try this.

kvos commented 4 months ago

this seems to have been resolved with more recent versions of pyfes.