<html style="direction: ltr;">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
bgcolor="#FFFFFF" text="#000000">
Hello all:<br>
<br>
I'm trying to install the MOLUSCE plugin on Linux Mint 18 (Ubuntu
16.04). I get the following error:<br>
<pre class="lang-py prettyprint prettyprinted" style=""><code><span class="kwd">The plugin is broken, Python said:
<b>cannot import name NavigationToolbar2QTAgg</b>
</span><span class="pln"></span><span class="pun"></span><span class="pln"></span><span class="pun"></span><span class="pln"></span><span class="kwd"></span><span class="pln"></span><span class="typ"></span><span class="pln"></span><span class="kwd"></span><span class="pln"></span><span class="typ"></span></code></pre>
Indeed, in Ubuntu the maplotlib libraries do not have that module.
This works:<br>
<tt>from matplotlib.backends.backend_qt4agg import
NavigationToolbar2QT as NavigationToolbar<br>
</tt>(NavigationToolbarQT without the Agg at the end)<tt><br>
</tt><br>
I checked on a Windows 7 machine with QGIS 2.18 standalone and the
plugin installs fine.<br>
<br>
Any ideas how to straighten this out on Ubuntu?<br>
<br>
Thanks, Micha<br>
</body>
</html>