Wind River Support Network

HomeDefectsLINCD-1984
Fixed

LINCD-1984 : import fastentrypoints: ModuleNotFoundError: No module named 'pickle'

Created: May 14, 2020    Updated: Jun 8, 2020
Resolved Date: May 28, 2020
Found In Version: 10.20.21.0
Fix Version: 10.20.24.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

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-fastentrypoints"
PNWHITELIST_virtualization-layer += 'python3-fastentrypoints'

5) bitbake wrlinux-image-glibc-small

6) boot the qemu and run command per problem description

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 fastentrypoints
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.8/site-packages/fastentrypoints.py", line 39, in <module>
from setuptools.command import easy_install
File "/usr/lib64/python3.8/site-packages/setuptools/command/easy_install.py", line 52, in <module>
from setuptools.sandbox import run_setup
File "/usr/lib64/python3.8/site-packages/setuptools/sandbox.py", line 9, in <module>
import pickle
ModuleNotFoundError: No module named 'pickle'

Steps to Reproduce

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-fastentrypoints"
PNWHITELIST_virtualization-layer += 'python3-fastentrypoints'

 

5) bitbake wrlinux-image-glibc-small

 

6) boot the qemu and run command per problem description
Live chat
Online