<div dir="ltr"><div>I had to purge the<code><span class=""> libqgis2</span><span class="">.</span><span class="">2.0</span><span class=""></span></code> package and re-install QGis; as you can see in the original message it as marked as precise. After that all went fine.<br>
<br></div>Luís<br><div><div><pre style class=""><code><span class=""></span><span class=""><br></span><span class=""></span></code></pre></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 7 May 2014 11:34, Luís de Sousa <span dir="ltr"><<a href="mailto:luis.a.de.sousa@gmail.com" target="_blank">luis.a.de.sousa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have installed QGis on Ubuntu 14.04 from the QGis stable repository [1]; it went fine with no errors reported. But when I launch QGis I get a huge window with the following message:<br>
<br> Couldn't load PyQGIS.<br>
Python support will be disabled.<br><br> Traceback (most recent call last):<br> File "", line 1, in<br> File "/usr/lib/python2.7/dist-packages/qgis/init.py", line 35, in<br> from qgis.core import QgsFeature, QgsGeometry<br>
ImportError: /usr/lib/python2.7/dist-packages/qgis/core.so: undefined symbol: _ZN16QgsComposerShape12setSceneRectERK6QRectF<br><br> Python version:<br> 2.7.6 (default, Mar 22 2014, 23:03:41) [GCC 4.8.2]<br><br>
QGIS version:<br>
2.2.0-Valmiera 'Valmiera', exported<br><br> Python path:<br> ['/usr/share/qgis/python', u'/home/desousa/.qgis2/python', u'/home/desousa/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/local/lib/python2.7/dist-packages/MapScript-6.0.1-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/virtualenv-1.8.4-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/pip-1.2.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/pytz-2012j-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/python_dateutil-2.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/six-1.3.0-py2.7.egg', '/usr/lib/grass64/etc/python/grass/script', '/usr/lib/grass64/etc', '/usr/lib/grass64/etc/python', '/usr/lib/grass64/lib', '/usr/lib/grass64/bin', '/usr/lib/grass64/scripts', '/usr/lib/python2.6', '/home/desousa/Eclipse/Workspace.Tudor/OWSLib', '/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/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-2.8-gtk2-unicode']<br>
<br>The packages I have installed:<br><br>$ dpkg -l | grep qgis<br>ii libqgis2.2.0 2.2.0-1~precise1 amd64 QGIS - shared libraries<br>ii python-qgis 2.2.0-3+trusty1 amd64 Python bindings to QGIS<br>
ii python-qgis-common 2.2.0-3+trusty1 all Python bindings to QGIS - architecture-independent files<br>ii qgis 2.2.0-3+trusty1 amd64 Geographic Information System (GIS)<br>
ii qgis-common 2.2.0-3+trusty1 all QGIS - architecture-independent data<br>ii qgis-plugin-globe 2.2.0-3+trusty1 amd64 OSG globe plugin for QGIS<br>
ii qgis-plugin-globe-common 2.2.0-3+trusty1 all OSG GLOBE plugin for QGIS - architecture-independent data<br>ii qgis-plugin-grass 2.2.0-3+trusty1 amd64 GRASS plugin for QGIS<br>
ii qgis-plugin-grass-common 2.2.0-3+trusty1 all GRASS plugin for QGIS - architecture-independent data<br>ii qgis-providers 2.2.0-3+trusty1 amd64 collection of data providers to QGIS<br>
ii qgis-providers-common 2.2.0-3+trusty1 all collection of data providers to QGIS - architecture-independent files<br><br>Thank you.<br><br>[1] <a href="http://qgis.org/en/site/forusers/alldownloads.html#ubuntu" target="_blank">http://qgis.org/en/site/forusers/alldownloads.html#ubuntu</a><br>
</div>
</blockquote></div><br></div>