[jetson][原创]GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supporte

Posted FL1623863129

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[jetson][原创]GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supporte相关的知识,希望对你有一定的参考价值。

jetson nano跑python程序发现报错:

GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

解决方法:在代码第一行加入:

import matplotlib

matplotlib.use('Agg')

以上是关于[jetson][原创]GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supporte的主要内容,如果未能解决你的问题,请参考以下文章