In pint\delegates\txt_defparser\common.py", line 23, it states @dataclass(frozen=True).
Apparently, that clashes with
Python313\Lib\dataclasses.py", line 1295, in wrap return _process_class(cls, init, repr, eq, order, unsafe_hash, frozen, match_args, kw_only, slots, weakref_slot)
due to Python313\Lib\dataclasses.py", line 1043, in _process_class raise TypeError('cannot inherit frozen dataclass from a ' 'non-frozen one') TypeError: cannot inherit frozen dataclass from a non-frozen one
My local hard fix was to comment in the line 23.
I am runing Windows 11, installed python 3.13.0 via the official webside and am using VScode.
In
pint\delegates\txt_defparser\common.py", line 23
, it states@dataclass(frozen=True)
. Apparently, that clashes withPython313\Lib\dataclasses.py", line 1295, in wrap return _process_class(cls, init, repr, eq, order, unsafe_hash, frozen, match_args, kw_only, slots, weakref_slot)
due toPython313\Lib\dataclasses.py", line 1043, in _process_class raise TypeError('cannot inherit frozen dataclass from a ' 'non-frozen one') TypeError: cannot inherit frozen dataclass from a non-frozen one
My local hard fix was to comment in the line 23. I am runing Windows 11, installed python 3.13.0 via the official webside and am using VScode.