CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] vtkcommoncorepython in paraview 5.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2016, 03:04
Default vtkcommoncorepython in paraview 5.0
  #1
Member
 
sean read
Join Date: Sep 2014
Location: Melbourne, Australia
Posts: 41
Rep Power: 11
seanread is on a distinguished road
So I've downloaded paraview5.0 from the website http://www.paraview.org/download/nload/, and set my python path as

Code:
$PYTHONPATH:/home/sean/bin/ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit/lib/paraview-5.0:/home/sean/bin/ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit/lib/paraview-5.0/site-packages:/home/sean/bin/ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit/bin
But I'm still getting the error message

Code:
ImportError: No module named vtkCommonCorePython
I tried

Code:
find -iname "*vtkCommonCorePython*"
from the install directory, and get

Code:
./lib/paraview-5.0/libvtkCommonCorePython27D-pv5.0.so.1
./lib/paraview-5.0/libvtkCommonCorePython27D-pv5.0.so
./lib/paraview-5.0/site-packages/vtk/vtkCommonCorePython.so
I notice none of these are modules. Is it that something is missing from the paraview install?

***EDIT***

So I realised that the above problem was because ~/PARAVIEWDIRECTORY/lib/paraview-5.0/site-packages/vtk hadn't been added to my python path. After adding this I get a new error message:

Code:
ImportError: libvtkCommonCorePython27D-pv5.0.so.1: cannot open shared object file: No such file or directory
But this time I checked three times, and libvtkCommonCorePython27D-pv5.0.so.1 is definitely located in ~/PARAVIEWDIRECTORY/lib/paraview-5.0, which is definitely in my python path... any suggestions?

**EDIT***

Okay, got it working now, I added ~/PARAVIEWDIRECTORY/lib/paraview-5.0 to my LD_LIBRARY_PATH, and now everything is working perfectly

Last edited by seanread; April 12, 2016 at 08:23. Reason: fixed the problem
seanread is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot visualize the lagrangian data using Paraview from OpenFOAM 5.0 openfoammaofnepo OpenFOAM 10 September 11, 2019 09:11
[OpenFOAM] Paraview from python shell : Glew initialization and VTKcommoncorepython error pradyumnsingh ParaView 0 September 18, 2018 13:40
Error when loading vtk from su2 5.0 in Paraview jojojojojojo SU2 Installation 2 January 13, 2018 02:46
[OpenFOAM.org] 4.0: Paraview 5.0 wont run after reinstall pupo OpenFOAM Installation 3 September 19, 2016 05:48
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41


All times are GMT -4. The time now is 12:23.