Wind River Support Network

HomeDefectsLIN1019-3607
Fixed

LIN1019-3607 : python3-config: No module named 'distutils'

Created: Nov 26, 2019    Updated: Dec 15, 2019
Resolved Date: Dec 12, 2019
Found In Version: 10.19.45.1
Fix Version: 10.19.45.2
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: Userspace

Description

setup.sh --machines=intel-x86-64 --distro wrlinux --dl-layers --repo-jobs 40

local.conf:
IMAGE_INSTALL_append = " python3-dev"

bitbake wrlinux-image-core

qemu-system-x86_64 -nographic -serial mon:stdio -serial null -enable-kvm -net user,hostname=qemu0,hostfwd=tcp::46631-:22 -net nic -drive file=tmp-glibc/deploy/images/intel-x86-64/wrlinux-image-core-intel-x86-64.ext4,format=raw -cpu host -m 4096 -kernel tmp-glibc/deploy/images/intel-x86-64/bzImage -append "console=ttyS0,115200 root=/dev/sda rw ip=dhcp "

root@intel-x86-64:~# python3-config

root@intel-x86-64:~# python3-config
Traceback (most recent call last):
  File "/usr/bin/python3-config", line 9, in <module>
    from distutils import sysconfig
ModuleNotFoundError: No module named 'distutils'

Steps to Reproduce

setup.sh --machines=intel-x86-64 --distro wrlinux --dl-layers --repo-jobs 40

local.conf:
IMAGE_INSTALL_append = " python3-dev"

bitbake wrlinux-image-core

qemu-system-x86_64 -nographic -serial mon:stdio -serial null -enable-kvm -net user,hostname=qemu0,hostfwd=tcp::46631-:22 -net nic -drive file=tmp-glibc/deploy/images/intel-x86-64/wrlinux-image-core-intel-x86-64.ext4,format=raw -cpu host -m 4096 -kernel tmp-glibc/deploy/images/intel-x86-64/bzImage -append "console=ttyS0,115200 root=/dev/sda rw ip=dhcp "

root@intel-x86-64:~# python3-config
Live chat
Online