You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyQT5 is missing from the dependencies and this raises an error when running graph-cli on macOS.
Full error :
> graph .monitoring/exported_data/cometbft_mempool_tx_size_bytes_bucket.csv
Traceback (most recent call last):
File "/Users/paul/.pyenv/versions/3.11.8/bin/graph", line 8, in <module>
sys.exit(main.main())
[...]
File "/Users/paul/.pyenv/versions/3.11.8/lib/python3.11/site-packages/matplotlib/backends/backend_qt5agg.py", line 7, in <module>
from .backend_qtagg import ( # noqa: F401, E402 # pylint: disable=W0611
File "/Users/paul/.pyenv/versions/3.11.8/lib/python3.11/site-packages/matplotlib/backends/backend_qtagg.py", line 9, in <module>
from .qt_compat import QT_API, QtCore, QtGui
File "/Users/paul/.pyenv/versions/3.11.8/lib/python3.11/site-packages/matplotlib/backends/qt_compat.py", line 130, in <module>
raise ImportError(
ImportError: Failed to import any of the following Qt binding modules: PyQt5, PySide2
Fix
This is fixed by running pip install pyqt5
The text was updated successfully, but these errors were encountered:
PyQT5 is missing from the dependencies and this raises an error when running graph-cli on macOS.
Full error :
> graph .monitoring/exported_data/cometbft_mempool_tx_size_bytes_bucket.csv Traceback (most recent call last): File "/Users/paul/.pyenv/versions/3.11.8/bin/graph", line 8, in <module> sys.exit(main.main()) [...] File "/Users/paul/.pyenv/versions/3.11.8/lib/python3.11/site-packages/matplotlib/backends/backend_qt5agg.py", line 7, in <module> from .backend_qtagg import ( # noqa: F401, E402 # pylint: disable=W0611 File "/Users/paul/.pyenv/versions/3.11.8/lib/python3.11/site-packages/matplotlib/backends/backend_qtagg.py", line 9, in <module> from .qt_compat import QT_API, QtCore, QtGui File "/Users/paul/.pyenv/versions/3.11.8/lib/python3.11/site-packages/matplotlib/backends/qt_compat.py", line 130, in <module> raise ImportError( ImportError: Failed to import any of the following Qt binding modules: PyQt5, PySide2
Fix
This is fixed by running
pip install pyqt5
The text was updated successfully, but these errors were encountered: