Hi,<br><br>I've compiled QGIS 0.11 again, because I've updated Python to version 2.5.<br><br>Now, when I go to a shell and execute qgis, I obtain some python errors:<br><br><meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);">"An error occured during execution of following code:<br></span><span style="font-family: 'Courier New,courier'; color: rgb(255, 0, 0);">import traceback</span><br>
can't import cStringIO"</p><br>"An error occured during execution of following code:<br><p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);"></span><span style="font-family: 'Courier New,courier'; color: rgb(255, 0, 0);">import __main__</span><br>
can't import cStringIO"</p><br><meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);">"Couldn't load SIP module.<br>Python support will be disabled.</span><br>can't import cStringIO"</p><br>After this messages, QGIS exits.<br>
<br>In python shell, the imports mentioned in error messages work correctly:<br><br>$ python<br>>>> import traceback<br>>>> import cStringIO<br>>>> import sip<br>>>> <div id="result_box" dir="ltr">
<br>Everything was functioning normally
before upgrading Python. I suppose I have to modify some system
variable, like PYTHONPATH, but I can not find which one.<br><br></div>I'm using gentoo. Python 2.5 installed using emerge. The previous installation of QGIS, that function correctly, compiled manually.<br><br>Thanks for any advice.<br>
José María<br><br><br>