You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to import xclim.indices and got an import error for dependency pint.unit.
It looks like pint.unit has moved to pint/facets/plain/unit.py with version 0.20. I'm not actually sure if this is an issue with xclim or conda but figured I'd share.
Thanks for the issue. Indeed, there was a refactor in pint 0.20 and it broke xclim... Good news is that it was fixed in #1212!
We had a plan to publish a new version of xclim (0.39) tomorrow, but I fear the Pull Request queue is a bit loaded and it might have to wait a few more days... Downgrading pint should be a simple temporary fix, if that is possible for you!
Generic Issue
Description
Tried to import
xclim.indices
and got an import error for dependencypint.unit
.It looks like
pint.unit
has moved topint/facets/plain/unit.py
with version 0.20. I'm not actually sure if this is an issue withxclim
orconda
but figured I'd share.pint
0.19.2 <- 0.20 comparisonAlso thank you, this package is amazing, hope I can contribute one day.
What I Did
Built new conda environment with:
Then imported
xclim.indices
in a Jupyter notebook:What I Received
I got an import error, didn't think to save the whole thing but it was this at the root:
The text was updated successfully, but these errors were encountered: