<div dir="ltr">OSX, version 10.13.6<div>Python 3.6.6</div><div>QGIS 3.2.1</div><div><br></div><div>QGIS itself is working fine with no errors, but I'm trying to write a standalone python script that utilizes a QGIS3 tool and I keep running into Qt errors.  This works fine:</div><div><div><br></div><div>import os</div><div>import sys</div><div>sys.path.append('/Applications/QGIS3.app/Contents/Resources/python/')</div><div>sys.path.append('/Applications/QGIS3.app/Contents/Resources/python/plugins')</div><div>from qgis.core import *</div></div><div><br></div><div>But as soon as I try to do:</div><div><br></div><div>app = QgsApplication([],True)<br></div><div><br></div><div>I get the following error:</div><div><br></div><div><div>>>> app = QgsApplication([],True)</div><div>This application failed to start because it could not find or load the Qt platform plugin "cocoa"</div><div>in "".</div><div><br></div><div>Reinstalling the application may fix this problem.</div><div>Abort trap: 6</div></div><div><br></div><div>Anybody have an idea where I'm going wrong?  My Google fu has only managed to turn up setting paths for Windows and not OSX.  Thanks!</div><div><br></div><div>DT</div></div>