Python standard library modules missing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Python standard library modules missing

1,960件の閲覧回数
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,815件の閲覧回数
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 件の賞賛
返信