Discussion:
[yocto] meta/recipes-devtools/python/python3_3.5.5.bb - no venv module
Conor Slater
2018-11-26 08:10:51 UTC
Permalink
Dear All,

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?

Best Regards,

Conor.
Burton, Ross
2018-11-26 11:04:01 UTC
Permalink
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
--
Conor Slater
2018-11-26 11:26:06 UTC
Permalink
Hello Ross,

Thanks for getting back to me.

I'm on sumo.

Here's what I got:

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

I added python-misc to my image and the venv module is installed now.

Thanks again for your help.

Best Regards,

Conor.
Post by Conor Slater
Post by Conor Slater
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.
Post by Conor Slater
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
$ 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
Loading...