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

pint.compat issue while running wdmtoolbox #36

Closed
mishranurag opened this issue May 5, 2023 · 4 comments
Closed

pint.compat issue while running wdmtoolbox #36

mishranurag opened this issue May 5, 2023 · 4 comments

Comments

@mishranurag
Copy link

I installed wdmtoolbox on a new installation and came across the following error when I try to import wdmtoolbox. I tested it with Python 3.8, 3.9, and 3.11 and all had same issues.

image

@timcera
Copy link
Owner

timcera commented May 5, 2023

Anurag, thank you!

Looks like hgrecco/pint-pandas#168 might be the problem. I will have to do some more investigation to limit the pint and/or pint_pandas version.

Kind regards,
Tim

@mishranurag
Copy link
Author

Thanks Tim. It looks like tsgettoolbox also has the same issue.

@timcera
Copy link
Owner

timcera commented May 8, 2023

Updated toolbox_utils to version 3.0.5 which will downgrade pint. This fixes both wdmtoolbox and tsgettoolbox.

pip install --upgrade toolbox_utils

Will downgrade pint from 0.21 to 0.20.1

@mishranurag
Copy link
Author

Thanks @timcera I really appreciate it.

@timcera timcera closed this as completed Jun 13, 2023
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