Package python was not found in the pkg-config search path when using scons
After upgrading to Ubuntu 20.04 at the weekend (this is not strictly relevant), one of my builds started failing with the following error:
After upgrading to Ubuntu 20.04 at the weekend (this is not strictly relevant), one of my builds started failing with the following error:
By now you should be using Python 3.x. You can integrate it with direnv (2.21 or newer)
by putting the following in your .envrc
To integrate direnv with python-build — installation instructions here — add the following to ~/.direnvrc:
Install pyenv. We’re not going to use it as-is, but it includes the python-build script that we will use: