Closed ingenieroariel closed 10 months ago
ImportError: cannot import name 'SemLock' from '_multiprocessing' (unknown location)
this error is probably due to CPython's ./configure
script not detecting Cosmopolitan Libc's sem_open
implementation properly? I have started a rebuild, will check if the new binaries have the same issue.
confirmed: the updated datasette.com
binary does not error out attempting to import _multiprocessing.SemLock
:
Fixed for me!
I hit https://bugs.python.org/issue3770
Here is the code: