Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pmt_hydrotrend example doesn't work with python 3.13 (but does with 3.11 - so may need to pin that version in the conda environment) #47

Open
dorchard opened this issue Nov 20, 2024 · 1 comment

Comments

@dorchard
Copy link

I followed the steps in the README.md to install bmi-tester and the pymt_hydrotrend example to test it. However running:

conda install pymt_hydrotrend -c conda-forge

yields:

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package pymt_hydrotrend-0.2.2-py310ha11ecec_3 requires python >=3.10,<3.11.0a0 *_cpython, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ pin-1 is installable and it requires
│  └─ python 3.13.* , which can be installed;
└─ pymt_hydrotrend is not installable because there are no viable options
   ├─ pymt_hydrotrend 0.2.2 would require
   │  └─ python >=3.10,<3.11.0a0 *_cpython, which conflicts with any installable versions previously reported;
   ├─ pymt_hydrotrend 0.2.2 would require
   │  └─ python >=3.11,<3.12.0a0 *_cpython, which conflicts with any installable versions previously reported;
   ├─ pymt_hydrotrend 0.2.2 would require
   │  └─ python >=3.8,<3.9.0a0 *_cpython, which conflicts with any installable versions previously reported;
   └─ pymt_hydrotrend 0.2.2 would require
      └─ python >=3.9,<3.10.0a0 *_cpython, which conflicts with any installable versions previously reported.

The problem seems to be that if you setup the conda environment with python=3 that it chooses the latest python (3.13) which pymt_hydrotrend is not compatible with.

So instead I tried:

conda create -n bmi-tester python=3.11
conda activate
conda install pymt_hydrotrend -c conda-forge

which seems to work.

@mdpiper
Copy link
Member

mdpiper commented Nov 20, 2024

A bunch of the pymt components need updating, and this is one of them! I'm linking this issue with csdms/pymt#177, where I've been tracking the updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants