When trying to build a QGIS plugin with Plugin Builder 3, I get the message that pyrcc5
was not found in my path.
I installed PyQt using brew install pyqt
, but still nothing. Instead, I tried to run the pyrcc5
executable that ships with QGIS like this
/Applications/QGIS-LTR.app/Contents/MacOS/bin/pyrcc5
and get this error:
./pyrcc5: line 2: exec: /Applications/QGIS-LTR.app/Contents/MacOS/bin/`dirname $0`/python3.8: cannot execute: No such file or directory
Am I missing some step in the installation or setup?
macOS Version 10.15.7
QGIS version 3.16.8-Hannover (LTR; installer from the official QGIS website)
/Applications/QGIS-LTR.app/Contents/MacOS/bin/
dirname $0/python3.8
probably smth wrong with how pyrcc5 interprets that../Applications/QGIS-LTR.app/Contents/MacOS/bin/