# OpenGL2 / Glew error with vtk8.2 in PyCharm

**URL:** https://discourse.vtk.org/t/opengl2-glew-error-with-vtk8-2-in-pycharm/2181
**Category:** Support
**Created:** [November 29, 2019, 1:01am UTC](https://discourse.vtk.org/t/opengl2-glew-error-with-vtk8-2-in-pycharm/2181 "2019-11-29T01:01:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Voidling](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/v/9fc29f/32.png) [@Voidling](https://discourse.vtk.org/u/Voidling)
#### Post date: [November 29, 2019, 1:01am UTC](https://discourse.vtk.org/t/opengl2-glew-error-with-vtk8-2-in-pycharm/2181/1 "2019-11-29T01:01:17Z")

</div>

Hello,

i am facing an issue where i find no adequate help in several online forums.

What i did so far is pretty simpel:  
Using PyCharm IDE  
Created Conda Python3.7 venv  
installed vtk package (8.2.0) via conda, which worked  
downloaded the cylinder example from [vtk.org](http://vtk.org) copypasted and just tried to run, getting the following error in a window:

 ![vtk_opengl_error](https://discourse.vtk.org/uploads/default/original/2X/9/92bf0f4363e054a10b184f4adba1cf4d40b3f988.png)

What I tried:  
Checked my System for OpenGL version,  
which is version 3.1 according to OpenGl extensions viewer

Downloaded and built GLEW via CMake and VSC 2019, which worked as far as i can evaluate

Triedd looking for the file “vtkWin32OpenGLRenderWindow” via cmd Box and dir vtkWin32OpenGLRenderWindow /s /p which had no output.

So at that point i have no idea what to do. As i run an example from [vtk.org](http://vtk.org) the code is clearly not the problem, aswell as the vtk version downloaded via conda.

Does anyone have a suggestion, i cant be the only one having this error when running a vtk script in python

Regards  
Void
