<span style='font-family:Verdana'><span style='font-size:12px'>Hello.<br /> 
<br /> 
I'm running QGIS 1.8 and 1.9 on Windows 7 x64. I installed them using the OSGeo4W installer.<br /> 
<br /> 
Everything was going fine untill I installed Python 2.7 to start learning Mapnik.<br /> 
I instaled Python x64, then realised it has to be x86 to run with Mapnik.<br /> 
I uninstaled the Python x64 and installed x86, and start going with Mapnik.<br /> 
<br /> 
Since then my QGIS started giving me a lot of errors. Sextante wouldn´t load, giving error message on start-up.<br /> 
I was able to fix this by removing the paths to Python and Mapnik I have added on the System Variables.<br /> 
<br /> 
But now I'm still having other problems, the main one for me right now beeing QSpatialite.<br /> 
<br /> 
I can run queries, but if I ask the output to be displayed in a QGIS layer I got the error pasted below.<br /> 
<br /> 
Is there something I can do to make things run smoothly again ? I already reinstalled all OSGeo4W packages, but no sucess.<br /> 
I see that OSGEO has it's own python, is this creating some kind of conflict ?<br /> 
<br /> 
Thank you<br /> 
<br /> 
<span style="font-size:10px;"><span style="color: rgb(255, 0, 0);">An error has occured while executing Python code:</span><br /> 
<br /> 
Traceback (most recent call last):<br /> 
  File "C:/Users/winste/.qgis//python/plugins\QspatiaLite\QspatiaLiteApp.py", line 195, in runQuery<br /> 
    loadInQGIS_spatial(self,self.db,query,geomfield,tablename)<br /> 
  File "C:/Users/winste/.qgis//python/plugins\QspatiaLite\Utility_functions.py", line 173, in loadInQGIS_spatial<br /> 
    QgsMapLayerRegistry.instance().addMapLayer(layer)<br /> 
AttributeError: 'QgsMapLayerRegistry' object has no attribute 'addMapLayer'<br /> 
<br /> 
Python version:<br /> 
2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]<br /> 
<br /> 
<br /> 
QGIS version:<br /> 
1.9.0-Master Master, 2a4d79d<br /> 
<br /> 
Python path: ['C:/Users/winste/.qgis//python/plugins\\sextante', 'C:/OSGeo4W/apps/qgis-dev/./python', 'C:/Users/winste/.qgis//python', 'C:/Users/winste/.qgis//python/plugins', 'C:/OSGeo4W/apps/qgis-dev/./python/plugins', 'C:\\OSGeo4W\\bin\\python27.zip', 'C:\\OSGeo4W\\apps\\Python27\\DLLs', 'C:\\OSGeo4W\\apps\\Python27\\lib', 'C:\\OSGeo4W\\apps\\Python27\\lib\\plat-win', 'C:\\OSGeo4W\\apps\\Python27\\lib\\lib-tk', 'C:\\OSGeo4W\\bin', 'C:\\OSGeo4W\\apps\\Python27', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools']</span><br /> 
</span></span>