Well, that was a fun error: went to install a node.js project, which depended on sqlite, and it failed because Python 3.13 no longer has distutils in it, and you instead need to do:
pip install --upgrade setuptools
To get the distutils package.
This happened because the Node.js module for sqlite uses node-gyp for building, which depends on distutils.