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!
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview