I'm trying to set the PYTHONPATH in order to be able to load the qgis classes in a python console (not the QGIS Python one).
I followed some resources I've found (PYQGIS Cookbook, and others) but I get still the same error message:
>>> import qgis.core
ImportError: No module named qgis.core
I'm pretty sure the problem is that I have a compiled version of QGIS and of course the PATHs suggested are different.
The folder of my QGIS is:
/home/user/QGIS-master
I tried to add the following to the .bashrc
file in order to have the PATH but nothing changed (still the error of above):
export PYTHONPATH=/home/user/QGIS-master/python/
Someone has an idea of which is the correct PATH I have to export?