|
[osol-discuss] Python on Solaris Lacking Multiprocessing Support?: msg#00863opensolaris-discuss
Hello, I am trying to write a python application that uses the multiprocessing module on OpenSolaris snv_117. I am guessing the python packages for OpenSolaris do not ship with multiprocessing support, but I am lost as to why. I've searched the web extensively but can not find an explanation for this. OpenCSW's python build does seem to support multiprocessing, but has trouble with shared semaphores. It seems OpenSolaris kernel does not support shared semaphores? I am receiving the following errors with this simple code: from multiprocessing import Pool if __name__ == '__main__': p = Pool(5) With /usr/bin/python2.4: ImportError: No module named multiprocessing With /usr/bin/python2.6: File "/usr/lib/python2.6/multiprocessing/__init__.py", line 82, in <module> import _multiprocessing ImportError: No module named _multiprocessing With OpenCSW's build /opt/csw/bin/python: File "/opt/csw/lib/python/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. Any insights would be most appreciated, John -- This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@xxxxxxxxxxxxxxx
|
|
||||||||||||||||||||||||||
| News | Mail Home | sitemap | FAQ | advertise |