I had installed QGIS with it in ubuntu :
sudo apt-get install qgis python-qgis qgis-plugin-grass
refer to this guide : https://www.qgis.org/en/site/forusers/alldownloads.html
then i try to import QGIS module that usually work in Windows QGIS Desktop application such as :
from qgis.core import *
from osgeo import *
but then, i try to :
import processing
and it said:
No module named processing
Ok i see since this is run as external application, so i try to do something like this:
import sys
sys.path.append('/usr/share/qgis/python/plugins')
import processing
but what i've got is:
QPixmap: Must construct a QApplication before a QPaintDevice
Aborted (core dumped)
Then i my python console was exited automatically
So my question is, how to import processing in ubuntu python console that had been QGIS installed?
I really need this module..