I am developing a stand alone python script that will invoke methods from processing module. I am seeing error "ImportError: No module named processing" on ubuntu.

Here is the code.

import PyQt4.QtGui
import PyQt4.QtCore
import PyQt4.Qsci

from qgis.gui import *
from qgis.core import *
import os

import processing

print 'hello'
  • First guess would be that you don't have the processing module installed. Dec 8, 2014 at 20:23
  • 1
    Or that it can't be found where python is looking for it. Try sys.path.append('path\to\where\it\is') before the import. If you can't find the path to where the processing module is then Chad is probably correct, download and install again paying attention to where it's installed. Dec 8, 2014 at 21:56
  • Do you mean are trying to execute a standalone script out of box? without starting the QGIS GUI?
    – lrssvt
    Dec 8, 2014 at 22:23

1 Answer 1


Have a look at How can I access `processing` with Python?. There I explain what needs to be included in a standalone script to run processing algorithms.

Not the answer you're looking for? Browse other questions tagged or ask your own question.