mdbartos / pysheds

:earth_americas: Simple and fast watershed delineation in python.
GNU General Public License v3.0
710 stars 195 forks source link

Conda-forge install seems broken #223

Open tomkom opened 1 year ago

tomkom commented 1 year ago

I have been trying to install pysheds on MAC OSX (M1) using the standard:

conda install -c conda-forge pysheds

Resulting in: >> PackagesNotFoundError: The following packages are not available from current channels:

This install currently works perfectly on Linux, but fails on Mac.

mdbartos commented 1 year ago

Interesting. What version of python are you using?

Maybe the conda forge repo might hold some answers?: https://github.com/conda-forge/pysheds-feedstock

The mac build appears on the anaconda site: https://anaconda.org/conda-forge/pysheds

I develop on an M1 mac, so I know it works on that platform, but I use pip for handling installs.

tomkom commented 1 year ago

Yes, I checked all those. Interestingly, no problem to install on Linux... Will try to diagnose more.

giorgionicoletti commented 1 year ago

Hey, I'm encountering the same issue (with an M2 Mac). Any idea why this is happening?

pkmn99 commented 11 months ago

This is probably because pysheds on conda does not have an arm build named "osx-arm64", while osx-64 is for intel cpu

cheginit commented 5 months ago

The issue with osx-arm64 can be solved following the instruction here. Essentially, this file needs to be edited by adding pysheds to the list, which then triggers a bot to make all the necessary changes to the pysheds conda-forge receipt repo and open a PR. Then, the maintainer of the conda-forge receipt repository for pysheds just needs to merge that PR.

@mdbartos If interested, I can add pysheds to the osx_arm64 file, so you can merge the PR.