Hi,
I
just tried to install VMTK 1.4 on my new computer (Linux,
Centos7).
As requested, I :
- installed glew
- installed mesa-libOSMesa
- installed Anaconda
- installed anaconda-client
- updated conda and anaconda-client
- created my python environment with adequate libraries (conda create -n foo -c vmtk python=3.6 itk vtk vmtk)
Everything seemed to
be fine, but when I launched my script, I got :
ERROR:
In ../Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line
797
vtkOSOpenGLRenderWindow (0x2c2f23e0): GL version 2.1 with
the gpu_shader4 extension is not supported by your graphics driver
but is required for the new OpenGL rendering backend. Please update
your OpenGL driver. If you are using Mesa please make sure you have
version 10.6.5 or later and make sure your driver in Mesa supports
OpenGL 3.2.
Do you have any idea what might be wrong ?
Some more
information on my setup :
- my graphic card : OpenGL version string: 4.6.0 NVIDIA 390.59 (which supports GL_EXT_gpu_shader4)
- librairies installed when creating anaconda environment :
The following NEW packages will be INSTALLED:
ca-certificates: 2018.03.07-0
certifi: 2018.4.16-py36_0
freetype: 2.8-hab7d2ae_1
future: 0.16.0-py36_1
h5py: 2.7.1-py36h9b8c120_0
hdf5: 1.8.18-h6792536_1
intel-openmp: 2018.0.0-8
itk: 4.13.0-h2f4ac57_1 vmtk
jpeg: 9b-h024ee3a_2
libgcc-ng: 7.2.0-hdf63c60_3
libgfortran-ng: 7.2.0-hdf63c60_3
libpng: 1.6.34-hb9fc6fc_0
libstdcxx-ng: 7.2.0-hdf63c60_3
libtiff: 4.0.9-he85c1e1_1
llvm: 3.3-0
mesa: 10.5.4-0 < = could it be the problem ?
mkl: 2018.0.2-1
numpy: 1.12.1-py36he24570b_1
olefile: 0.45.1-py36_0
openssl: 1.0.2o-h20670df_0
pillow: 4.2.1-py36h9119f52_0
pip: 10.0.1-py36_0
python: 3.6.1-2
readline: 6.2-2
setuptools: 39.1.0-py36_0
six: 1.11.0-py36h372c433_1
sqlite: 3.13.0-0
system: 5.8-2
tk: 8.5.18-0
vmtk: 1.4.0-py36hfe14cac_1 vmtk
vtk: 8.1.0-py36h67b79b7_1 vmtk
wheel: 0.31.1-py36_0
xz: 5.2.4-h14c3975_4
Thanks for your help, any idea
or workaround appreciated !
David
source activate py36vmtk
conda uninstall vmtk vtk
conda install -c anaconda vtk
conda install -c vmtk vmtk
Things should be working now. Based on this, it seems like the issue is with the vtk installation in vmtk anaconda channel. Hope this helps!
--
You received this message because you are subscribed to the Google Groups "vmtk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vmtk-users+...@googlegroups.com.
To post to this group, send email to vmtk-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
conda install -c anaconda vtk=8.1.0