electrum icon indicating copy to clipboard operation
electrum copied to clipboard

ModuleNotFoundError: No module named 'matplotlib.backends.backend_qt5agg'

Open TARS-bot opened this issue 2 years ago • 0 comments

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/electrum/gui/qt/history_list.py", line 637, in plot_history_dialog
    plt = plot_history(list(self.hm.transactions.values()))
  File "/usr/lib/python3.10/site-packages/electrum/plot.py", line 36, in plot_history
    f, axarr = plt.subplots(2, sharex=True)
  File "/usr/lib64/python3.10/site-packages/matplotlib/pyplot.py", line 1453, in subplots
    fig = figure(**fig_kw)
  File "/usr/lib64/python3.10/site-packages/matplotlib/pyplot.py", line 806, in figure
    manager = new_figure_manager(
  File "/usr/lib64/python3.10/site-packages/matplotlib/pyplot.py", line 324, in new_figure_manager
    _warn_if_gui_out_of_main_thread()
  File "/usr/lib64/python3.10/site-packages/matplotlib/pyplot.py", line 314, in _warn_if_gui_out_of_main_thread
    if (_get_required_interactive_framework(_get_backend_mod())
  File "/usr/lib64/python3.10/site-packages/matplotlib/pyplot.py", line 217, in _get_backend_mod
    switch_backend(dict.__getitem__(rcParams, "backend"))
  File "/usr/lib64/python3.10/site-packages/matplotlib/pyplot.py", line 282, in switch_backend
    class backend_mod(matplotlib.backend_bases._Backend):
  File "/usr/lib64/python3.10/site-packages/matplotlib/pyplot.py", line 283, in backend_mod
    locals().update(vars(importlib.import_module(backend_name)))
  File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'matplotlib.backends.backend_qt5agg'

ModuleNotFoundError: No module named 'matplotlib.backends.backend_qt5agg'

Reporter

This issue was reported by 2 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.1.5 3.10.8 (main, Nov 14 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-3)] Linux-6.0.12-100.fc35.x86_64-x86_64-with-glibc2.34 standard fr_FR
4.5.2 3.12.3 (main, Apr 17 2024, 00:00:00) [GCC 13.2.1 20240316 (Red Hat 13.2.1-7)] Linux-6.8.9-200.fc39.x86_64-x86_64-with-glibc2.38 standard pt_BR

Additional Information

Click on reporting menu for ploting


I was trying to plot


TARS-bot avatar Jan 26 '23 19:01 TARS-bot