ClimateGlobalChange / tempestextremes

Extreme weather detection and characterization
83 stars 30 forks source link

Can't install tempestextremes on Mac M2 #63

Open Lyndz1234 opened 1 year ago

Lyndz1234 commented 1 year ago

Hello,

I cant seem to install on mac m2 via conda. Is there a workaround solution to this?

PackagesNotFoundError: The following packages are not available from current channels:

Current channels:

-Lyndz

paullric commented 1 year ago

I’ve had luck with this command before:

conda install -c conda-forge tempest-extremes

If that doesn’t work then you can install from source.

On Sep 10, 2023, at 8:35 PM, Lyndz1234 @.***> wrote:

Hello,

I cant seem to install on mac m2 via conda. Is there a workaround solution to this?

PackagesNotFoundError: The following packages are not available from current channels:

tempest-extremes Current channels:

https://conda.anaconda.org/conda-forge/osx-arm64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/osx-arm64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/osx-arm64 https://repo.anaconda.com/pkgs/r/noarch -Lyndz

— Reply to this email directly, view it on GitHub https://github.com/ClimateGlobalChange/tempestextremes/issues/63, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIVPZHJ5UZCHKZSAWEZMFDXZ2BHLANCNFSM6AAAAAA4SVGUOE. You are receiving this because you are subscribed to this thread.

oloapinivad commented 4 months ago

It seems that with newer Mac architecture the conda recipe is not available. It was working fine on Mac Intel, I am wondering if this has to be prepared for osx-arm64 architecture...

paolo@danglard ~ % mamba install -c conda-forge tempest-extremes

Looking for: ['tempest-extremes']

warning  libmamba Could not parse mod/etag header
warning  libmamba Could not parse mod/etag header
conda-forge/osx-arm64                                9.5MB @  14.9MB/s  0.6s
conda-forge/noarch                                  14.4MB @  11.7MB/s  1.2s

Pinned packages:
  - python 3.10.*

Could not solve for environment specs
The following package could not be installed
└─ tempest-extremes does not exist (perhaps a typo or a missing channel).
pmansito commented 3 weeks ago

I have managed to successfully compile TE on an M1 running Sonoma. Using homebrew I installed netcdf4 and hfs5, cloned the TE Github repository, made the changes suggested in the TE README.md file for macOS , and compiled the source code.

paullric commented 3 weeks ago

Great! That’s exactly how I do it.

On Aug 15, 2024, at 12:10 PM, pmansito @.***> wrote:

I have managed to successfully compile TE on an M1 running Sonoma. Using homebrew I installed netcdf4 and hfs5, cloned the TE Github repository, made the changes suggested in the TE README.md file for macOS , and compiled the source code.

— Reply to this email directly, view it on GitHub https://github.com/ClimateGlobalChange/tempestextremes/issues/63#issuecomment-2292019170, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIVPZABIPETTZ3I6NRNVTDZRT4LRAVCNFSM6AAAAAA4SVGUOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJSGAYTSMJXGA. You are receiving this because you commented.