Unexpectedly Qgis won't open today. Error code is:
Couldn't load QGIS utils. Python support will be disabled. Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 20, in from future import standard_library ImportError: No module named future Python version: 2.7.10 (default, Oct 14 2015, 16:09:02) [GCC 5.2.1 20151010] QGIS version: 2.15.0-Master 'Master', exported Python path: ['/usr/share/qgis/python', u'/home/simon/.qgis2/python', u'/home/simon/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client']
I've done some digging around similar errors to no avail.
utils.py imports a module from
__future__ successfully then
future unsuccessfully. This suggests that future/standard_library should work though. I've just reinstalled (xubuntu, debian nightly ppa) and still no joy. Qgis has been working fine until now, although I've not opened it for about a month or so. Searching for
/usr/lib doesn't give any other exact matches:
python3.4/lib2to3/fixes, the same file in python2.7 folder...
2.7 isn't new, so 2.7's
future has assumedly never had
standard_library in it, right? What am I missing here? Could an independent package have decided I no longer need a more recent version of python, I okayed it for autoremove, and it turns out Qgis needs that version of python's
OS is xubuntu 15.10