• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: How to add pyqt5 in matrix.python-version on GitHub Actions?

Resolved: How to add pyqt5 in matrix.python-version on GitHub Actions?

0
By Isaac Tonny on 18/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

Tutorial to add pyqt5 to GitHub can be here in this thread:
But, it didn’t use matrix.python-version
How to setup GitHub action that support matplotlib.use('Qt5Agg') using matrix.python-version?
It would be better if solution also support Windows and MAC using matrix.os
Here is my attempt and the error message:
Worked example without any matrix:
See my progress trying implementing this on my GitHub
EDIT
Solved by avoiding:
  1. PYTHONPATH
  2. Python<=3.6
  3. PyQt4

Answer:

It seems that the problem is a combination of using PYTHONPATH, Python<=3.6, and PyQt4.
Thus, the minimal working example of the build is:
See my journey on solving this problem in my GitHub repository commit history
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!

github github-actions matplotlib pyqt5 python
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: TypeScript does not recognize properties when instantiating interface array

27/03/2023

Resolved: How to make statement case insensitive when uploading a dta file with specified columns?

27/03/2023

Resolved: Sort dataframe columns value by close it to another column

27/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.