Bug report #21130

Updated by Jürgen Fischer over 2 years ago

I got this problem with both 64 and 32 bits version.
Tried to reinstall SIP.
Tried to install several python packages.
I also use Anaconda.
I searched online and found several similar error, didn't managed to fixed it.

I installed QGIS 3.0.1 and it started without any error. Since I spent already something like 4H trying to get QGIS work, I'll just keep working with version 3.0.1 but I wanted to repport the error?

First Error window :
<pre>
&gt; Couldn't load SIP module.
&gt; Python support will be disabled.


&gt;
&gt;
&gt;
Traceback (most recent call last):
&gt; File "", line 1, in
&gt; File "C:/PROGRA~2/QGIS3~1.4/apps/qgis/./python\qgis\__init__.py", line 80, in
&gt; import qgis.gui
&gt; File "C:/PROGRA~2/QGIS3~1.4/apps/qgis/./python\qgis\gui\__init__.py", line 27, in
&gt; from qgis._gui import *
&gt; RuntimeError: the sip module implements API v12.0 to v12.4 but the qgis._gui module requires API v12.5


&gt;
&gt;
&gt;
Python version:
&gt; 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)]


&gt;
&gt;
QGIS version:
&gt; 3.4.4-Madeira 'Madeira', f6ddc62fdb


&gt;
&gt;
Python path:
&gt; ['C:/PROGRA~2/QGIS3~1.4/apps/qgis/./python', 'C:/Users/Boris/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python', 'C:/Users/Boris/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python/plugins', 'C:/PROGRA~2/QGIS3~1.4/apps/qgis/./python/plugins', 'C:\\Program Files (x86)\\QGIS 3.4\\bin\\python37.zip', 'C:\\PROGRA~2\\QGIS3~1.4\\apps\\Python37\\DLLs', 'C:\\PROGRA~2\\QGIS3~1.4\\apps\\Python37\\lib', 'C:\\Program Files (x86)\\QGIS 3.4\\bin', 'C:\\Users\\Boris\\AppData\\Roaming\\Python\\Python37\\site-packages', 'C:\\PROGRA~2\\QGIS3~1.4\\apps\\Python37', 'C:\\PROGRA~2\\QGIS3~1.4\\apps\\Python37\\lib\\site-packages', 'C:\\PROGRA~2\\QGIS3~1.4\\apps\\Python37\\lib\\site-packages\\win32', 'C:\\PROGRA~2\\QGIS3~1.4\\apps\\Python37\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~2\\QGIS3~1.4\\apps\\Python37\\lib\\site-packages\\Pythonwin']
</pre>


Second error window :
<pre>


&gt;
An error occurred during execution of following code:
&gt; qgis.utils.uninstallErrorHook()


&gt;
&gt;
&gt;
Traceback (most recent call last):
&gt; File "", line 1, in
&gt; NameError: name 'qgis' is not defined


&gt;
&gt;
&gt;
Python version:
&gt; 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]


&gt;
&gt;
QGIS version:
&gt; 3.4.4-Madeira 'Madeira', 73c31df831


&gt;
&gt;
Python path:
&gt; ['C:/OSGEO4~1/apps/qgis/./python', 'C:/Users/Boris/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python', 'C:/Users/Boris/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python/plugins', 'C:/OSGEO4~1/apps/qgis/./python/plugins', 'C:\\OSGeo4W64\\bin\\python37.zip', 'C:\\OSGEO4~1\\apps\\Python37\\DLLs', 'C:\\OSGEO4~1\\apps\\Python37\\lib', 'C:\\OSGeo4W64\\bin', 'C:\\Users\\Boris\\AppData\\Roaming\\Python\\Python37\\site-packages', 'C:\\OSGEO4~1\\apps\\Python37', 'C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages', 'C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages\\win32', 'C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages\\win32\\lib', 'C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages\\Pythonwin']
</pre>

Back