2

I am trying to re-intall qGIS in my ubuntu 20.04 following the QGIS-installers. However, I get an error when I try to install the:

'sudo apt install gnupg software-properties-common'

The error says:

Traceback (most recent call last):
  File "/usr/bin/py3compile", line 34, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python3/debpython/__init__.py", line 10, in <module>
    log = logging.getLogger(__name__)
AttributeError: module 'logging' has no attribute 'getLogger'
dpkg: error processing package python3-qgis (--configure):
 installed python3-qgis package post-installation script subprocess returned err
or exit status 1
Errors were encountered while processing:
 python3-qgis
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have read somethings about it, but I cannot understand yet what is happening. Can someone give me some advice?

Just to add more information in usr/lib/ I have 3 python folders: python2.7, python3, and python3.8. The second one 'python3' is empty. Maybe someone more clever than I can help me with this issue.

Thanks

0 Answers0