last day (28 days later) » 

9:30 PM
hey! Appreciate the feedback help!
 
Traceback:
paul@linux-x4zp:~> python3
Python 3.6.9 (default, Oct 29 2019, 10:39:36) [GCC] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import benchit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/paul/.local/lib/python3.6/site-packages/benchit/__init__.py", line 1, in <module>
from benchit.main import BenchmarkObj, timings, bench, _get_possible_indexbys
File "/home/paul/.local/lib/python3.6/site-packages/benchit/main.py", line 7, in <module>
 
Can you try : pip install pyqt5?
 
Pretty sure I already got it
pip search pyqt5
PyQt5-sip (12.8.0) - The sip module support for PyQt5
INSTALLED: 12.8.0 (latest)
PyQt5-stubs (5.14.2.2) - PEP561 stub files for the PyQt5 framework
pyqt5-tools (5.15.0.1.7) - Tools to supplement the official PyQt5 wheels
PyQt5 (5.15.0) - Python bindings for the Qt cross platform application toolkit
INSTALLED: 5.7.1
LATEST: 5.15.0
 
Hmm, I gotta debug those. Thanks
I thought the issue was with inlined plots only. There was an issue raised.
If I can bug to try two more commands :
>>> import matplotlib
>>> matplotlib.use('Qt5Agg')
 
Yep, that gives a very similar traceback. Does it mean my pyqt/matplotlib is messed up?
 
9:41 PM
So, you are saying import matplotlib works, but the next one throws similar error?
 
Precisely.
 
Hmm most probably matplotlib version might be the issue - matplotlib.__version__? Might need an update?
Not an expert on plot work and that's hurting.
 
pip install --upgrade matplotlib
Requirement already up-to-date: matplotlib in ./.local/lib/python3.6/site-packages (3.2.2)
 
Okay, seem all good at your end. I gotta debug.
 
In my limited experience pyqt is always good for an installation nightmare :-(
 
9:54 PM
Well, appreciate the feedback! Those backends are a mess.
Will bookmark this room for future debugging.
 

  last day (28 days later) »