2010-12-01 67 views
2
$ 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> 
    from multiprocessing.synchronize import Lock, BoundedSemaphore, Semaphore, Condition 
    File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 33, in <module> 
    " function, see issue 3770.") 
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will 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 
+3

所以你使用的平台。 – pyfunc 2010-12-01 07:09:07

+0

vmware esxi 4.1,当我到达大学后,我会运行`uname -a && python2.7 -V`(已经在路上...) – 2010-12-01 07:14:02

回答