For those hitting into a similar error in Python 3.11 (or higher), I've found that reverting to Python 3.10 resolves the issue