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
Fixes the issue.
Installs pyqt@6 which cannot compile the resource file.