@langfield
You forgot 1 package.
That’s why it’s showing an error.
Try this:
sudo apt install python3-pip python3-venv pyqt6-dev-tools python3-pyqt6*
Before running the installation you can check these parameters:
echo $PYTHONPATH
echo $PYTHON_BINARY