Couldn't compile resource file while making plugin in QGIS in mac. Pyrcc5 is not in your path error

184 Views Asked by At

I was trying to create a plugin in QGIS. I was following this.

While trying to compile my resource file. I got pyrcc5 is not in your path---unable to compile your resource file(s) error.

I searched everywhere but there were no valid solutions for mac.

I even tried chatGPT but it didn't work.

chatGPT gave me this:

nano ~/.bash_profile
export PATH="/Applications/QGIS.app/Contents/MacOS/bin:$PATH"
which pyrcc5
1

There are 1 best solutions below

0
On
brew install pyqt@5

Fixes the issue.

install pyqt

Installs pyqt@6 which cannot compile the resource file.