pyopengl icon indicating copy to clipboard operation
pyopengl copied to clipboard

ImportError: cannot import name 'OSMesaCreateContextAttribs' from 'OpenGL.osmesa'

Open lucasjinreal opened this issue 3 years ago • 7 comments

ImportError: cannot import name 'OSMesaCreateContextAttribs' from 'OpenGL.osmesa'

lucasjinreal avatar Jan 07 '22 07:01 lucasjinreal

I'm not sure but you may try sudo apt-get install libosmesa6.

fyviezhao avatar Jan 07 '22 08:01 fyviezhao

me,too error

sunjunlishi avatar Mar 27 '22 17:03 sunjunlishi

File "/usr/local/lib/python3.8/dist-packages/pyrender/platforms/osmesa.py", line 19, in init_context from OpenGL.osmesa import (

sunjunlishi avatar Mar 27 '22 17:03 sunjunlishi

how did you solve this problem? I'm looking forward your reply.

Wyz2927 avatar May 29 '22 11:05 Wyz2927

me too

Italy2006 avatar Jul 14 '22 02:07 Italy2006

me too

yuzewang1998 avatar Sep 23 '22 16:09 yuzewang1998

I occur this problem when import pyrenderer. and I solved this problem by rolling back the pyOpenGL version, then re-pip the Pyrenderer.

yuzewang1998 avatar Oct 05 '22 05:10 yuzewang1998