I also encountered encountered the above problem. But when I installed python 3.8 in a new environment (So that my other dependencies are not affected), I was able to solve the issue.(Mine is M1 Pro chip, May also work for M1 and M1 max)
I also encountered encountered the above problem. But when I installed python 3.8 in a new environment (So that my other dependencies are not affected), I was able to solve the issue.(Mine is M1 Pro chip, May also work for M1 and M1 max)