I was running into this same issue on an M3 Mac running Sonoma 14.1. My Python version was also 3.6. I upgraded to Python 3.7 and was able to install the package.
Cheers, Marcus