[英]Geoplotlib issue with thread
我有一个应用程序,它使用线程在后台处理算法部分。
在某些时候,我需要使用 geoplotlib 库来 plot map 上的一些点。
当我测试它时一切正常,但是当我尝试在线程中使用它时出现以下错误: pyglet.gl.lib.MissingFunctionException: wglChoosePixelFormatARB is not exported by the available OpenGL driver. ARB_pixel_format is required for this functionality.
pyglet.gl.lib.MissingFunctionException: wglChoosePixelFormatARB is not exported by the available OpenGL driver. ARB_pixel_format is required for this functionality.
再一次,这只发生在从线程调用 geoplotlib 时。
所以我想知道是否有办法暂停线程,将资源发送回主线程,处理我的 geoplotlib 内容,然后回到我的第二个线程?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.