Rust doesn't build without "python" name being available · Issue #71818 · rust-lang/rust
Since Ubuntu 20.04, the name python no longer available by default without python-is-python2 package being installed. The build scripts should point to python2 instead.
GitHub