I have tried to install on 3.8, 3.9, and 3.10 venv, but could only successfully install on 3.9.
Since the README specifies the supported version as 3.7 or higher, it would be better to change the description or take countermeasures.
To make it work with 3.8, it seems that you only need to change the list[] syntax to List[]. (Support for list[] has been available since 3.9.)
To work with 3.10, NumPy must be updated to version 1.21.3 or later.