pysheds icon indicating copy to clipboard operation
pysheds copied to clipboard

Conda-forge install seems broken

Open tomkom opened this issue 1 year ago • 5 comments

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.

tomkom avatar Aug 13 '23 08:08 tomkom

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.

mdbartos avatar Aug 14 '23 16:08 mdbartos

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

tomkom avatar Aug 15 '23 05:08 tomkom

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

giorgionicoletti avatar Oct 02 '23 13:10 giorgionicoletti

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

pkmn99 avatar Oct 13 '23 14:10 pkmn99

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.

cheginit avatar Apr 12 '24 03:04 cheginit