Python - No handlers could be found for logger “OpenGL.error”

后端 未结 3 1062
故里飘歌
故里飘歌 2020-11-27 16:21

Okay, what is it, and why does it occur on Win2003 server, but not on WinXP.

It doesn\'t seem to affect my application at all, but I get this error message when I cl

3条回答
  •  感动是毒
    2020-11-27 16:54

    Looks like OpenGL is trying to report some error on Win2003, however you've not configured your system where to output logging info.

    You can add the following to the beginning of your program and you'll see details of the error in stderr.

    import logging
    logging.basicConfig()
    

    Checkout documentation on logging module to get more config info, conceptually it's similar to log4J.

提交回复
热议问题