[Qgis-user] problem loading Python

Gavin Fleming gavin at kartoza.com
Fri May 15 06:41:33 PDT 2015


Hi all

Last week my nightly builds Python died.

If I start QGIS from command-line, this is the line that triggers the error:

       src/app/qgisapp.cpp: 7528: (loadPythonSupport) [2ms] load library
/usr/lib/qgispython (2.9.0)

(there's nothing at /usr/lib/qgispython)

and this is the error:

Couldn't load PyQGIS.
Python support will be disabled.


Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named core

Python version:
2.7.9 (default, Apr  2 2015, 15:37:21)
[GCC 4.9.2]

QGIS version:
2.9.0-Master 'Master', exported

Python path:
['/usr/share/qgis/python', u'/home/gavin/.qgis2/python',
u'/home/gavin/.qgis2/python/plugins', '/usr/share/qgis/python/plugins',
'/usr/local/lib/python2.7/dist-packages',
'/usr/local/lib/python2.7/dist-packages/xml2ddl-0.3.1-py2.7.egg',
'/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/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg-info',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/wx-3.0-gtk2']


I've purged all QGIS packages with apt-get, aptitude and dpkg and
manually stripped any under /usr and reinstalled several times to no avail.

I would be grateful for any tips

thanks

Gavin

-- 
------------------------------------------------------------------------------------------
Gavin Fleming - Joint MD - PrGISc [PGP1234]
Visit http://kartoza.com <http://kartoza.com/>to find out about open source:
* Desktop GIS programming services
* Geospatial web development
* GIS Training
* Consulting Services
Skype: phlemingo
-------------------------------------------------------------------------------------------
Kartoza = Linfiniti ∪ Afrispatial
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150515/bb52325a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaWebBanner.png
Type: image/png
Size: 22131 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150515/bb52325a/attachment.png>


More information about the Qgis-user mailing list