Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ModuleNotFoundError: No module named 'matplotlib' #24

Open
areithofer opened this issue Sep 22, 2020 · 3 comments
Open

Uncaught ModuleNotFoundError: No module named 'matplotlib' #24

areithofer opened this issue Sep 22, 2020 · 3 comments

Comments

@areithofer
Copy link

Couldn't load plugin 'tuflow' due to an error when calling its classFactory() method
Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:/Users/user9/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tuflow\__init__.py", line 73, in classFactory
    from .tuflowqgis_menu import tuflowqgis_menu
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 743, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/user9/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tuflow\tuflowqgis_menu.py", line 27, in <module>
    from .tuflowqgis_dialog import *
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 743, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/user9/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tuflow\tuflowqgis_dialog.py", line 32, in <module>
    from .tuflowqgis_library import *
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 743, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/user9/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tuflow\tuflowqgis_library.py", line 40, in <module>
    import matplotlib
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 743, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'matplotlib'

tuflow 3.1.2.3, QGIS 3.14.15-Pi on Windows 10

@TUFLOW-Support
Copy link
Owner

Are you installing QGIS using the standalone installer or OSGEO4W?

@areithofer
Copy link
Author

areithofer commented Sep 23, 2020 via email

@TUFLOW-Support
Copy link
Owner

HI Andreas, can you please double check you have installed the python3-matplotlib library through the advanced install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants