Python standard library modules missing

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Python standard library modules missing

1,924 次查看
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?

标记 (3)
0 项奖励
回复
1 回复

1,779 次查看
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 项奖励
回复