Python standard library modules missing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Python standard library modules missing

1,852 Views
e_strunk
Contributor II

I got Python3 to work on my LS1043ARDB by adding python3 and python3-pip to the CORE_IMAGE_EXTRA_INSTALL in the local.conf file. Simple python scripts are running without problem and I can install new packages via pip. But there seem to be some missing modules that normally are part of the python standard library. Specifically I encountered problems with the multiprocessing and the sqlite3 module. An import error is raised whenever these modules ought to be imported:

ImportError: No module named 'multiprocessing'

Is the python standard library not included in the python3 recipe? Is there another recipe for the standard library modules? Or are there other ways to get access to the standard library modules?

Tags (3)
0 Kudos
Reply
1 Reply

1,707 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Elisabeth Strunk,

Please add "python3-multiprocessing" to CORE_IMAGE_EXTRA_INSTALL, please refer to recipe python-3.5-manifest.inc\python\recipes-devtools\meta - poky - Poky Build Tool and Metadata .

Thanks,

Yiping

0 Kudos
Reply