I managed to solve the problem. It turns out the install for the IDE also failed.
After further investigation, it turns out that the python virtual environment package is required which is not mentioned anywhere (I have created a PR on the Pre-Req documentation)…
i.e. sudo apt install python3.10-venv
solved the problem.