[yocto] meta/recipes-devtools/python/python3_3.5.5.bb - no venv module

Burton, Ross ross.burton at intel.com
Mon Nov 26 03:04:01 PST 2018


On Mon, 26 Nov 2018 at 08:11, Conor Slater <slaterc at gmail.com> wrote:
> After adding python3 to the install I appear to be missing the standard Python module venv. The module should be a standard part of Python 3.5.5.
>
> Has this been disabled? If so, how and where?
>
> How do I enable it so it is built?

What release are you using?  There was a slight packaging problem so
it only just got put in the 'proper' place.  You can use
oe-pkgdata-util to find out what package it is in, so you can add it
to your image.  For example for me:

$ oe-pkgdata-util find-path */venv/*.py
python3-venv: /usr/lib/python3.5/venv/__main__.py
python3-venv: /usr/lib/python3.5/venv/__init__.py

Ross


More information about the yocto mailing list