Error in Linux: "QGtkStyle could not resolve GTK"

When using matplotlib or other graphics libraries in Linux, you may see the error "QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries."

To resolve this issue, try setting the following environment variable (either in your bash shell, or, more persistently, in your .bashrc or other configuration file):


Please do not enter support requests in article comments

Please use article comments for suggestions to improve the article. For individual support requests, please follow these guidelines.

Have more questions? Submit a request


Powered by Zendesk