Search code examples
yoctoopenembedded

nothing provides /bin/env needed by foo


I am building a new recipe which contains python.

when doing bitbake foo, it pass without problem.

when building overall image, it shows this error:

nothing provides /bin/env needed by foo

Solution

  • Change the shebang of the python file from '/bin/env python' to the real path (e.g. /usr/bin/python'.