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
The mu prefix returned by babel cannot be interpreted by pint.
importpintimportunicodedataureg=pint.UnitRegistry()
# symbol used internally by pint, this worksureg(unicodedata.lookup('MICRO SIGN'))
# symbol returned by babel, failsureg(unicodedata.lookup('GREEK SMALL LETTER MU'))
Not sure where babel goes into this. But, there is a definition file that include the prefix and their aliases. Adding this prefix to that file should fix it.
Activity
hgrecco commentedon Feb 19, 2020
Not sure where babel goes into this. But, there is a definition file that include the prefix and their aliases. Adding this prefix to that file should fix it.