[yocto] Missing Python modules on target

Chris Larson clarson at kergoth.com
Wed Mar 19 08:57:28 PDT 2014


On Wed, Mar 19, 2014 at 8:40 AM, Jonatan Magnusson <
jonatan.magnusson at gmail.com> wrote:

> I am trying to use Python on my target.
>
> I added ”python” to IMAGE_INSTALL. But then the "base64" module was not
> installed.
> Very well, I added ”python-modules” to IMAGE_INSTALL, and now "base64" was
> installed.
>
> But now "wsgiref" was missing. As far as I can see the only modules and
> packages that are/can be
> installed are the ones listed in
> ”meta/recipes-devtool/python/python-2.7-manifest.inc” and ”wsgiref” is not
> mentioned there.
>
> What to do?
>
> Is ”wsgiref” left out because it is incompatible with Yocto for some
> reason? Or can I add it myself in some way?
> Is there perhaps a way to install *all* modules/packages of the Python
> standard library? Disk space is not a problem.
>

That's what python-modules is for. If it didn't include it, then it sounds
like it wasn't built at all in the python build, so that's where you'd need
to look, I'd think.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140319/ff29fd0f/attachment.html>


More information about the yocto mailing list