Paraview : Glew could not be initialized

回眸只為那壹抹淺笑 提交于 2020-01-15 23:01:09

问题


I am trying to run a simple code for paraview from jupyter notebook as following:

from paraview.simple import *
cone = Cone()
Show(cone)
Render()

But this gives me an error

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.

The error remains the same when I run it from a python shell. I also installed paraview using conda. I am using Python 2.7.

来源:https://stackoverflow.com/questions/52373482/paraview-glew-could-not-be-initialized

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!