0

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
  • "I even tried ChatGPT". Heh. The [Stochastic Parrot](https://irisvanrooijcogsci.com/2023/01/14/stop-feeding-the-hype-and-start-resisting/) strikes again. – ekhumoro Mar 29 '23 at 13:26

1 Answers1

0
brew install pyqt@5

Fixes the issue.

install pyqt

Installs pyqt@6 which cannot compile the resource file.