Skip to content Skip to sidebar Skip to footer

Com.chaquo.python.pyexception: Importerror: This Platform Lacks A Functioning Sem_open With Multiprocessing

I am building an application that works on windows and in python. It builds correctly and this issue looks like it should have been fixed in 7.0.3 of chaquopy; however it does not

Solution 1:

The fixes in Chaquopy 7.0.3 and 8.0.1 were for code which imported the multiprocessing module without actually using its multi-process features. However, it looks like your code is trying to create a multi-process queue, which doesn't currently work because Android doesn't support POSIX semaphores.

Assuming your app has only one process, the simplest solution is edit your code to use multiprocessing.dummy instead of multiprocessing. Or you could use the single-process queue API directly.

Post a Comment for "Com.chaquo.python.pyexception: Importerror: This Platform Lacks A Functioning Sem_open With Multiprocessing"