Closed yalinli2 closed 1 year ago
Hi @yoelcortes , just an FYI, a recent release of pint moved modules around and now you'll get an importing error for this line https://github.com/BioSTEAMDevelopmentGroup/thermosteam/blob/8165979b9636ef77af0829ebd39b091a94f1c83f/thermosteam/units_of_measure.py#L22
pint
now to_units_container is in the util module, but I can't think of a better way than try and except or restricting pint version in setup, thanks!
to_units_container
util
btw, it might have been renamed to Pint...
Pint
Thanks for letting me know! It should be fixed now. I am also avoiding any private methods from pint.
wonderful and thanks!
Hi @yoelcortes , just an FYI, a recent release of
pint
moved modules around and now you'll get an importing error for this line https://github.com/BioSTEAMDevelopmentGroup/thermosteam/blob/8165979b9636ef77af0829ebd39b091a94f1c83f/thermosteam/units_of_measure.py#L22now
to_units_container
is in theutil
module, but I can't think of a better way than try and except or restrictingpint
version in setup, thanks!