|
[Sponsors] |
[OpenFOAM] Paraview from python shell : Glew initialization and VTKcommoncorepython error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 18, 2018, 14:40 |
Paraview from python shell : Glew initialization and VTKcommoncorepython error
|
#1 |
New Member
Join Date: Jun 2018
Location: Canada
Posts: 10
Rep Power: 8 |
I am just trying to get Paraview to run from my python shell (a trace program) to automate making animation. Just for testing purposes I tried to run a simple program from a python shell:
HTML Code:
from paraview.simple import * cone = Cone() Show(cone) Render() HTML Code:
ERROR:In/home/conda/feedstock_root/build_artifacts/paraview_1532760595263/work/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 781 vtkOSOpenGLRenderWindow (0x556661755060): GLEW could not be initialized.ERROR:In/home/conda/feedstock_root/build_artifacts/paraview_1532760595263/work/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 781 vtkOSOpenGLRenderWindow (0x556661755060): GLEW could not be initialized. After this didnt work , I tried to install paraview separately and give path variables in my python shell separately. This gave me an error as following: HTML Code:
ImportError: No module named vtkCommonCorePython |
|
Tags |
paraview 4.2, python |
|
|