@@ -154,7 +154,7 @@ class GLViewWidget(QtOpenGL.QGLWidget):
ver=glGetString(GL_VERSION)
ifverisnotNone:
ver=ver.split()[0]
ifint(ver.split('.')[0])<2:
ifint(ver.split(b'.')[0])<2:
print(msg+" The original exception is printed above; however, pyqtgraph requires OpenGL version 2.0 or greater for many of its 3D features and your OpenGL version is %s. Installing updated display drivers may resolve this issue."%ver)