From eb893e9fb7d444527339b576f97062ec72df9122 Mon Sep 17 00:00:00 2001 From: Zhedong Zheng Date: Sat, 4 Sep 2021 12:24:20 +0800 Subject: [PATCH] Update bugs.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add one solution for ‘cannot import name 'OSMesaCreateContextAttribs'’ it is due to opengl --- docs/bugs.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/bugs.md b/docs/bugs.md index 630685f..f060fb6 100755 --- a/docs/bugs.md +++ b/docs/bugs.md @@ -25,3 +25,9 @@ sudo dpkg -i ./mesa_18.3.3-0.deb || true sudo apt install -f git clone https://github.com/mmatl/pyopengl.git pip install ./pyopengl + +## from OpenGL.osmesa import ( ImportError: cannot import name 'OSMesaCreateContextAttribs' + +git clone git@github.com:mmatl/pyopengl.git + +pip install ./pyopengl