Question:
Tutorial to addpyqt5
to GitHub can be here in this thread:matrix.python-version
matplotlib.use('Qt5Agg')
using matrix.python-version
?matrix.os
Here is my attempt and the error message:
EDIT
Solved by avoiding:
- PYTHONPATH
- Python<=3.6
- PyQt4
Answer:
It seems that the problem is a combination of usingPYTHONPATH
, Python<=3.6
, and PyQt4
.Thus, the minimal working example of the build is:
EDIT
Interestingly, if only using Python>=3.7, we can skip sudo operation and rely sololy on pip.
If you have better answer, please add a comment about this, thank you!