Bug report #16558

ImportError: cannot import name NavigationToolbar2QTAgg

Added by Davide Notti over 7 years ago. Updated over 7 years ago.

Status:Rejected
Priority:Normal
Assignee:Alexander Bruy
Category:Python plugins
Affected QGIS version:2.18.7 Regression?:No
Operating System:Windows Easy fix?:Yes
Pull Request or Patch supplied:No Resolution:up/downstream
Crashes QGIS or corrupts data:No Copied to github as #:24460

Description

Statis and other plugins have this problem relatae with matplotlib in python :

Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 333, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/d.notti/.qgis2/python/plugins\statist\__init__.py", line 77, in classFactory
from statist import StatistPlugin
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/d.notti/.qgis2/python/plugins\statist\statist.py", line 35, in
import statistdialog
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/d.notti/.qgis2/python/plugins\statist\statistdialog.py", line 49, in
from matplotlib.backends.backend_qt4agg import NavigationToolbar2QTAgg as NavigationToolbar
ImportError: cannot import name NavigationToolbar2QTAgg

History

#1 Updated by Alexander Bruy over 7 years ago

  • Resolution set to up/downstream
  • Status changed from Open to Rejected

This bugtracker used only for QGIS issues. Please file ticket in the plugin bugtracker

Also available in: Atom PDF