Fixed
Created: May 6, 2020
Updated: Jun 29, 2020
Resolved Date: Jun 16, 2020
Found In Version: 10.20.21.0
Fix Version: 10.20.27.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace
root@qemux86-64:~# python3
Python 3.8.2 (default, Apr 27 2020, 08:51:00)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import M2Crypto
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.8/site-packages/M2Crypto/__init__.py", line 22, in <module>
from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'
1) setup.sh
--machine qemux86-64 --dl-layers 2). ./environment-setup-x86_64-wrlinuxsdk-linux
3) . ./oe-init-build-env
4) vim conf/local.conf
IMAGE_INSTALL_append += " python3-m2crypto"
5) bitbake wrlinux-image-glibc-small
6) boot the qemu and run command per problem description