Skip to content

Python version #8

@hwq0726

Description

@hwq0726

Hi,

It seems the requirement for Python version should be 3.10 or higher (in order to use "type union" the | operator). I was trying to use Python 3.9 and met TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'NoneType' when from synthid_text import detector_mean.
However, the requires-python specification in pyproject.toml lists >=3.9, which may lead to compatibility issues for users on Python 3.9.

Thank you for your attention.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions