Development environment:
Win10 + Python 3.6 (virtual environment) + mayavi2 + pychar
Phenomenon:
This virtual environment used to work well in the past, but suddenly one day when drawing with mayavi, the following error appears:
error: in C: \ VPP \ standalone build \ VTK source \ rendering \ opengl2 \ vtkwin32openglrenderwindow.cxx, line 685
vtkWin32OpenGLRenderWindow (000001FACEF53880): failed to get wglChoosePixelFormatARB
ERROR: In C:\VPP\standalone-build\VTK-source\Rendering\OpenGL2\vtkWin32OpenGLRenderWindow.cxx, line 769
vtkWin32OpenGLRenderWindow (000001FACEF53880): failed to get valid pixel format.
ERROR: In C:\VPP\standalone-build\VTK-source\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 785
vtkWin32OpenGLRenderWindow (000001FACEF53880): GLEW could not be initialized.
The program is a routine on the official website. The phenomenon is that after executing the program, if an error is reported, it exits after a few seconds.
Solution:
Consult relevant materials and initially locate the problem on environmental variables and drivers. Looking back on what I have done in recent days, I found that I have newly installed Master Lu and updated some drivers. So I tried to return the graphics card driver to the previous version, and the problem was successfully solved
the figure below shows that Master Lu has completed the rollback of the driver version
happy drawing again
Read More:
- Solutions to yarn install error reporting
- Several solutions to HDF5 error reporting in Python environment
- About maven Pom.xml Personal solutions to reporting errors!!!
- Maven project pom.xml Solutions to error reporting
- Failed to get the resources path in the jar package, reporting an error null pointer
- Game development unity xlua framework knowledge series: this type must add to csharpcalllua error reporting solutions
- Brief introduction of idea Lombok and solutions for reporting red and wrong
- XLRDError: Excel xlsx file; Not supported error reporting solutions
- Problems and solutions of error reporting in using swiper in Vue
- “Typeerror: List indexes must be integers or slices, not STR” about error reporting solutions
- Pytorch RuntimeError: Error(s) in loading state_ dict for Dat aParallel:.. function submit.py Solutions for reporting errors
- import org.junit.Test And @ test error reporting — solutions
- Elasticsearch cluster cannot be started. The following prompt fails to send join request to master appears
- Error reporting – the project directly introduces the error reporting and solution of. SCSS file
- [FAQ] after git merge, the push to Gerrit fails, indicating no new changes?
- Mac brew fails to work and an error is reported
- SSH suddenly fails to log in, and an error is reported: failed to start openssh daemon
- If the iframe in IE refers to the cross domain site page, the session fails
- MySQL: if the remote connection using navicatip fails, prompt “is not allowed to connect to this MySQL server”
- Re installing Android studio always fails to install SDK when installing software (solution)