multiprocessing - Python 2.7 SimlpeQueue Import Error (a bug?) -
$ python2.6 -c 'from multiprocessing.queues import simplequeue' $ python2.7 -c 'from multiprocessing.queues import simplequeue' traceback (most recent call last): file "<string>", line 1, in <module> file "/usr/lib/python2.7/multiprocessing/queues.py", line 22, in <module> multiprocessing.synchronize import lock, boundedsemaphore, semaphore, condition file "/usr/lib/python2.7/multiprocessing/synchronize.py", line 33, in <module> " function, see issue 3770.") importerror: platform lacks functioning sem_open implementation, therefore, required synchronization primitives needed not function, see issue 3770. $ uname -a linux xxx-ubuntu-64 2.6.35-22-generic #35-ubuntu smp sat oct 16 20:45:36 utc 2010 x86_64 gnu/linux
they fixed in ubuntu python3: https://bugs.launchpad.net/ubuntu/lucid/+source/python3.1/+bug/630511
the report 2.7 here: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/683027
Comments
Post a Comment