Error
Closed this issue · 3 comments
Got the same error!
As you can see .devcontainer, this repository is intended to use Python3.10.
The error message you provided, TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
, suggests that you're trying to use the |
(bitwise OR) operator with operands that are not supported. Specifically, one of the operands seems to be of type
and the other is NoneType
.
The common mistake is often seen in the context of Python type hints, especially in Python 3.9+ when using the new union operator |
for type hinting.
Ensure that you're using Python 3.9 or newer.
Hi! I am using Python 3.9.18 and getting the same error. The Pypi page explicits the need of Python>=3.6, please update it to a minimum working version.