Quick note: If you're using pyenv and trying to build the project, you'll need Python 3.11.x rather than 3.12.x due to node-gyp build dependencies (specifically distutils compatibility).
To set this up:
pyenv install 3.11.7 # or any 3.11.x version
pyenv local 3.11.7
PYTHON=$(pyenv which python3) npm install