I was missing the rust setuptools that resolved the error for me. python3.11 -m pip install setuptools_rust
python3.11 -m pip install setuptools_rust