I am trying to develop a plugin for QGIS but I am having trouble setting up my IDE with the required python executable so I can get a console working for logging output while developing it. When I deliberately enter some messed up text in the script, and then try to run the plugin in QGIS, I can see an error in the stacktrace that I would assume indicates where the executable is:
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 333, in startPlugin plugins[packageName] = package.classFactory(iface) File "/home/isaac/.qgis2/python/plugins/MakeOSMRoutableNetwork/__init__.py", line 34, in classFactory from .make_osm_routable_network import MakeOSMRoutableNetwork File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/home/isaac/.qgis2/python/plugins/MakeOSMRoutableNetwork/make_osm_routable_network.py", line 214 self.dlg.postgis_connection_listView.addItem(k)weqweqfasfsdf ^ SyntaxError: invalid syntax
So it seems like my python exectuable is in
/usr/lib/python2.7. Alright, fair enough. But when I navigate to this directory and list the contents, I don't see any python executable. Shouldn't there be one in here? I am using Ubuntu 16.04.