This question already has an answer here:
After installing the latest QGIS version for Mac (2.18.0), geoprocessing tools such as "Difference" and "Symmetrical Difference" are no longer working. Instead, the log window shows the following error message:
2016-11-14T14:28:43 2 Uncaught error while executing algorithm Traceback (most recent call last): File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/GeoAlgorithm.py", line 203, in execute self.processAlgorithm(progress) File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/Difference.py", line 71, in processAlgorithm geomType = QgsWKBTypes.multiType(QGis.fromOldWkbType(layerA.wkbType())) NameError: global name 'QgsWKBTypes' is not defined
Does anyone have an idea what the problem might be and how to fix it?