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?
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