solve some issue with opengl and python3