Closed John-Nagle closed 3 years ago
Workaround: install Debian package "python-is-python3", a hack which does what you think it does.
https://github.com/google/shaderc-rs/pull/105 resolves this issue. The underlying build finds python3 just fine, it's shaderc-rs's belief that it needs to be called "python" that stops this from progressing.
Yeah, it's just historical: the script exists before the full deprecation of Python2 but has never gotten updated. Thanks @gkelly for fixing it. I'll publish a new release.
The build script insists on finding "python", while Ubuntu 20.04 LTS offers only "python2" or "python3", to avoid confusion. Worked in 18.04 LTS, where "python" maps to "python 2.7".
Trouble is in "build.rs", in
You want Python 2 or Python 3?
Backtrace of failed build follows.