Hi Mike,

This Python error on the Flatpak version of QGIS (I'm using Ubuntu 20.10 Groovy Gorilla) was preventing me from using the Processing Toolbox so I had to ditch QGIS flatpak. I couldn't get QGIS 3.16 working either as there wasn't/isn't a repository available for Groovy and I kept on getting dependency problems when using the QGIS Focal repository on Groovy. The only version of QGIS that I've been able to get working properly on Ubuntu is the development version QGIS 3.17 Master.

Regards, Frank.

On 2020/11/04 14:07, Mike Flannigan wrote:

See my write-up below on the SIP module loading problem.
I am no longer OK.  Apparently the TimeShift back
only temporarily fixes the problem.  So every plugin
available to me is this short list:
http://www.mflan.com/temp/plugins.jpg

All I can figure is most QGIS users don't use plugins
(not likely) or this problem is affecting less than
10% of QGIS users.  Otherwise I suspect this would be the
biggest issue discussed on the list.  I don't even know
what to work on - QGIS or Python.

I am on QGIS version 3.14.16-Pi.  I guess I will go forward -
to ver 3.16.0 at first, then backwards if necessary.  I would
welcome a 3.16.0 user who does not have this problem to
state that on this list.  I welcome any suggestions.

I am on Linux Mint 19.3.


Mike



On 10/29/20 3:40 PM, Mike Flannigan wrote:

I have been using QGIS a lot recently.  All of a sudden
it gives "Couldn't load SIP module", which is a Python
problem with QGIS that has been around for many years.

I TimeShifted back about 3 days and the problem is solved
for now, but I just wanted to get this recorded.

Here are a few write-ups on the problem, some very recent:


https://github.com/qgis/QGIS/issues/38310

https://github.com/qgis/QGIS/issues/30895

https://gis.stackexchange.com/questions/306595/qgis-3-4-couldnt-load-sip-module-python-support-will-be-disabled-on-windows-10



The error message I receive is:


Couldn't load SIP module.
Python support will be disabled.


Traceback (most recent call last):
  File "", line 1, in
  File "/app/share/qgis/python/qgis/__init__.py", line 70, in
    from qgis.PyQt import QtCore
  File "/app/share/qgis/python/qgis/PyQt/QtCore.py", line 24, in
    from PyQt5.QtCore import *
ModuleNotFoundError: No module named 'PyQt5.sip'


Python version:
3.8.5 (default, Nov 10 2011, 15:00:00)
[GCC 10.2.0]

QGIS version:
3.14.16-Pi 'Pi', a235a149

Python path:
['/app/share/qgis/python', '/home/mike/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python', '/home/mike/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python/plugins', '/app/share/qgis/python/plugins', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/usr/lib/python3.8/site-packages', '/app/lib/python3.8/site-packages', '/app/lib/python3.8/site-packages/numpy-1.19.2-py3.8-linux-x86_64.egg', '/app/lib/python3.8/site-packages/MarkupSafe-1.1.1-py3.8-linux-x86_64.egg']




Ignoring the error message allows QGIS to start, but then
you don't have the "Lat Lon Tools" plugin, and a few other things.

My Python versions appear to be ver 2.7, ver 3.6, ver 3.7.

Again, I am OK for now, but I hope this issue is resolved soon.



Mike




_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to