[Paraview] Multiprocessing doesn't work on windows for pvpython
Luo Han
han.luo at gmail.com
Fri Dec 9 01:23:29 EST 2016
Hi,
I have a script to post processing data. It needs pvpython to call it. The
script import multiprocessing module. But when I import the package, it
shows:
>>> import multiprocessing
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Program\ParaView
5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\multiprocessing\__init__.py", line
84, in <module>
import _multiprocessing
ImportError: No module named _multiprocessing
I'm using windows 10 x64 with ParaView 5.2.0-Qt4-OpenGL2-Windows-64bit. I
imported sys and sys.path tells:
>>> sys.path
['', 'D:\\Program\\ParaView 5.2.0-Qt4-OpenGL2-Windows-64bit\\bin',
'D:\\Program\\ParaView 5.2.0-Qt4-OpenGL2-Windows-64bit\\bin\\python27.zip',
'D:\\Program\\ParaView 5.2.0-Qt4-OpenGL2-Windows-64bit\\bin\\DLLs',
'D:\\Program\\ParaView 5.2.0-Qt4-OpenGL2-Windows-64bit\\bin\\lib',
'D:\\Program\\ParaView
5.2.0-Qt4-OpenGL2-Windows-64bit\\bin\\lib\\plat-win',
'D:\\Program\\ParaView 5.2.0-Qt4-OpenGL2-Windows-64bit\\bin\\lib\\lib-tk',
'D:\\Program\\ParaView 5.2.0-Qt4-OpenGL2-Windows-64bit\\bin',
'D:\\Program\\ParaView
5.2.0-Qt4-OpenGL2-Windows-64bit\\bin\\lib\\site-packages',
'D:\\Program\\ParaView
5.2.0-Qt4-OpenGL2-Windows-64bit\\bin\\lib\\site-packages\\win32',
'D:\\Program\\ParaView
5.2.0-Qt4-OpenGL2-Windows-64bit\\bin\\lib\\site-packages\\win32\\lib']
I don't know what happened with the pvpython. I have a complete
installation of Anaconda python 2.7 on the same machine and multiprocessing
can be imported from the bash coming along with the installation.
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20161209/d2b2074b/attachment.html>
More information about the ParaView
mailing list