AnsweredAssumed Answered

Python standard library modules missing

Question asked by Elisabeth Strunk on May 8, 2019
Latest reply on May 21, 2019 by Yiping Wang

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?