I have a user that wants to use ParaView from within generic python (not pvpython). Unfortunately, I am somewhat struggling. Does anyone have any ideas?
I am running the version of Python that was used to build ParaView (i.e., probably no version mismatch). setenv LD_LIBRARY_PATH .../Python-2.7.5/lib/ setenv PYTHONPATH ....paraview-install/lib/paraview-4.1/site-packages ..../Python-2.7.5/bin/python Python 2.7.5 (default, Jun 17 2013, 15:20:04) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> from paraview.simple import * Error: Could not import vtkCommonComputationalGeometryPython Traceback (most recent call last): File "<stdin>", line 1, in <module> File "..../lib/paraview-4.1/site-packages/paraview/simple.py", line 41, in <module> import servermanager File "..../lib/paraview-4.1/site-packages/paraview/servermanager.py", line 48, in <module> import paraview, re, os, os.path, new, sys, atexit, vtk File "..../lib/paraview-4.1/site-packages/paraview/vtk/__init__.py", line 7, in <module> from vtkCommonCorePython import * ImportError: No module named vtkCommonCorePython >>> So, my question is, where does vtkCommonCorePython come from? There isn't a vtkCommonCorePython.py in the tree, but is a ..../lib/paraview-4.1/site-packages/vtk/vtkCommonCorePython.so. How does this get linked in? Thanks, Alan Scott
_______________________________________________ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview