Python version problems

Richard Purdie <rpurdie@...>


I've seen a few comments that people are struggling with the python
version Poky requires not being present in certain distros. I can now
point to one potential solution in the form of a standalone install of
python (in /opt/poky) which Poky itself can generate. I've shared
prebuilt 32 and 64 bit versions of these at:

They are not statically linked but are self contained with all the
libraries they need so should work on pretty much any Linux system.

To use them, extract as root in / and then just run:

export PATH=/opt/poky/sysroots/i586-pokysdk-linux/usr/bin/:$PATH
export PATH=/opt/poky/sysroots/x86_64-pokysdk-linux/usr/bin/:$PATH

before running bitbake and the version of python in these tarballs will
be used by bitbake instead.

For reference, you can generate these tarballs by running:

SDKMACHINE=i586 bitbake external-python-tarball
SDKMACHINE=x86_64 bitbake external-python-tarball

using Poky's master branch.