我在计算机服务器上安装了Anaconda3,版本= 5.0.1,这是64位win8操作系统。 当我打开spyder时首先提示:
PythonQtError: No Qt bindings could be found
我使用pip安装pyqt5,版本= 5.10来解决它,但最终出现了:
QOpenGLShader::link: Failed to create D3D shaders.
shader compilation failed:
"Failed to create D3D shaders.\n"
QOpenGLShader::link: Failed to create D3D shaders.
Failed to create D3D shaders.
QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked
QOpenGLShader::link: Failed to create D3D shaders.
shader compilation failed:
"Failed to create D3D shaders.\n"
QOpenGLShader::link: Failed to create D3D shaders.
Failed to create D3D shaders.
QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked
QOpenGLShader::link: Failed to create D3D shaders.
shader compilation failed:
"Failed to create D3D shaders.\n"
QOpenGLShader::link: Failed to create D3D shaders.
Failed to create D3D shaders.
QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked
QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked
QOpenGLShader::link: Failed to create D3D shaders.
Failed to create D3D shaders.
Failed to create D3D shaders.
Failed to create D3D shaders.
Failed to create D3D shaders.
Failed to create D3D shaders.
Failed to create D3D shaders.
Failed to create D3D shaders.
Failed to create D3D shaders.
Failed to create D3D shaders.
答案 0 :(得分:1)
安装最新的DirectX驱动程序。那对我有用。