Download python library from Github "requires a different Python"

That library doesn't officially support Python 3.10, as the error message says.

I have the latest version of Python (3.10.2) Is there any ways to solve this problem?

I believe you can try adding --python-version 3.9 to your command. This should let you install with Python 3.10 even though it isn't officially supported:

The Python interpreter version to use for wheel and “Requires-Python” compatibility checks. Defaults to a version derived from the running interpreter.

If this works and all tests pass, consider changing the version constraint to include Python 3.10 and submitting a pull request.

Or you could downgrade to Python 3.9.