Problem installing prerequisites for building Julia

Perhaps a symlink for python3 in /usr/bin? I think that is how the build tools call it. Or perhaps in your apt install line, just change python to python3?

Raspberry Pi does a lot of custom things … but then again so do most distros. On WSL2 (specifically, the Ubuntu one), calling python3 gives you a symlink to /usr/bin/python3.10