Page 1 sur 2
QGIS - Erreur Python à l'ouverture
Posté : lun. 2 nov. 2020 16:59
par lemont
Bonjour,
J'ai réinstallé un Mint tout propre sur mon ordinateur il y a quelques jours à l'occasion du remplacement de mon disque dur de données par un SSD.
J'utilise Qgis depuis des années sans problème particuler, tout fonctionnait bien jusqu'à ma réinstallation de Mint, et là, j'ai un souci à l'ouverture du programme : j'ai le message suivant qui s'affiche
Le module SIP n'a pas pu être chargé.
Le support Python va être désactivé.
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'
Version de Python :
3.8.5 (default, Nov 10 2011, 15:00:00)
[GCC 10.2.0]
Version de QGIS :
3.14.16-Pi 'Pi', a235a149
Chemin vers Python :
['/app/share/qgis/python', '/home/administrateur/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python', '/home/administrateur/.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']
Si je clique sur le bouton "fermer" de la boite de dialogue du message d'erreur, Qgis finit de se charger, mais je n'ai pas accès aux fonctions liées à Pytho, notamment l'installation des extensions codées en Python.
Quelqu'un aurait une ébauche de réponse ? (j'ai recherché ici et sur les forums Ubuntu sans réponse par rapport à ce problème)
Merci d'avance !
Re: QGIS - Erreur Python à l'ouverture
Posté : lun. 2 nov. 2020 18:53
par lemont
Bonsoir Cyrille,
Merci de te préoccuper de mon petit souci.
Dans un premier temps je n'ai pas installé python, j'ai installé Qgis (via la logithèque).
Quand j'ai eu le message d'erreur j'ai installé les paquets python pour qgis via synaptic, je l'avoue sans vraiment maitriser exactement ce que j'installais
Voici le retour de aptitude search ~ipython3 :
Code : Tout sélectionner
administrateur@administrateur-W65-67SJ:~$ aptitude search ~ipython3
i A libpython3-dev - fichiers d'en-tête et bibliothèque statiqu
i libpython3-stdlib - Langage interactif de haut niveau orienté
i libpython3.8 - Shared Python runtime library (version 3.8
i A libpython3.8-dev - Header files and a static library for Pyth
i libpython3.8-minimal - Minimal subset of the Python language (ver
i libpython3.8-stdlib - Interactive high-level object-oriented lan
i libqgispython3.10.4 - QGIS - shared Python library
i python3 - Langage interactif de haut niveau orienté
i python3-apport - Bibliothèque Python 3 pour la manipulation
i python3-apt - interface Python 3 pour libapt-pkg
i python3-aptdaemon - module Python 3 pour le serveur et le clie
i python3-aptdaemon.gtk3widgets - éléments graphiques Python 3 GTK+ 3 pour e
i A python3-atomicwrites - Atomic file writes - Python 3.x
i A python3-attr - Attributes without boilerplate (Python 3)
i python3-blinker - fast, simple object-to-object and broadcas
i python3-brlapi - Accès à un affichage en braille via BRLTTY
i python3-bs4 - analyseur HTML tolérant aux erreurs pour P
i python3-cairo - liaisons Python3 pour la bibliothèque grap
i python3-certifi - root certificates for validating SSL certs
i python3-cffi-backend - Foreign Function Interface for Python 3 ca
i python3-chardet - universal character encoding detector for
i A python3-click - Wrapper around optparse for command line u
i A python3-click-plugins - extension de Click pour enregistrer des co
i A python3-cligj - bibliothèque de Python 3 pour le traitemen
i A python3-colorama - Cross-platform colored terminal text in Py
i python3-commandnotfound - liaisons Python 3 pour command-not-found.
i python3-configobj - simple but powerful config file reader and
i python3-crypto - algorithmes et protocoles de chiffrement p
i python3-cryptography - Python library exposing cryptographic reci
i python3-cups - liaisons Python3 pour CUPS
i python3-cupshelpers - modules utilitaires Python pour le système
i A python3-cvxopt - paquet de Python⋅3 pour l’optimisation con
i A python3-cycler - composable kwarg iterator (Python 3)
i A python3-dateutil - extensions puissantes du module datetime s
i python3-dbus - Système simple de messages inter-processus
i python3-debian - modules Python 3 pour travailler avec des
i A python3-decorator - simplification de l’utilisation de décorat
i python3-defer - Petit environnement applicatif pour la pro
i A python3-deprecated - Python decorator for old classes, function
i A python3-descartes - Matplotlib extension to work with geometri
i A python3-dev - fichiers d'en-tête et bibliothèque statiqu
i python3-distro - Linux OS platform information API
i A python3-distutils - distutils package for Python 3.x
i python3-entrypoints - Discover and load entry points from instal
i A python3-et-xmlfile - low memory library for creating large XML
i A python3-fiona - Python 3 API for reading/writing vector ge
i A python3-future - Clean single-source support for Python 3 a
i A python3-gdal - Python 3 bindings to the Geospatial Data A
i python3-gdbm - prise en charge des bases de données GNU d
i A python3-geographiclib - Python 3 implementation of GeographicLib
i A python3-geojson - liaisons et utilitaires en Python 3 pour G
i A python3-geopandas - outils python3 pour les données géographiq
i A python3-geopy - geocoding toolbox for Python3
i python3-gi - interfaçage avec Python 3 pour les bibliot
i python3-gi-cairo - liaisons Python 3 Cairo pour la bibliothèq
i python3-grpcio - GRPC system (Python 3)
i A python3-html5lib - HTML parser/tokenizer based on the WHATWG
i python3-httplib2 - vaste bibliothèque client HTTP écrite pour
i python3-icu - extension Python 3 enveloppant l'API C++ I
i python3-idna - gestion Python de IDNA2008 (RFC 5891) –⋅Py
i python3-ifaddr - Pure Python implementation for detecting I
i A python3-importlib-metadata - library to access the metadata for a Pytho
i A python3-ipython-genutils - IPython vestigial utilities for Python 3
i A python3-jdcal - Julian dates from proleptic Gregorian and
i A python3-jinja2 - Moteur autonome de modèles léger, rapide e
i A python3-joblib - tools to provide lightweight pipelining in
i A python3-jsonschema - An(other) implementation of JSON Schema (D
i A python3-jupyter-core - Core common functionality of Jupyter proje
i python3-jwt - Python 3 implementation of JSON Web Token
i python3-keyring - store and access your passwords safely - P
i A python3-kiwisolver - fast implementation of the Cassowary const
i python3-launchpadlib - Launchpad web services client library (Pyt
i python3-lazr.restfulclient - client for lazr.restful-based web services
i python3-lazr.uri - Bibliothèque d'analyse, de manipulation et
i python3-ldb - Python 3 bindings for LDB
i A python3-lib2to3 - Interactive high-level object-oriented lan
i python3-louis - liaisons de Python pour liblouis
i A python3-lxml - liaison Python pour les bibliothèques libx
i python3-macaroonbakery - Higher-level macaroon operations for Pytho
i python3-mako - Modélisation rapide et légère pour la plat
i python3-markupsafe - Bibliothèque de chaîne HTML/XHTML/XML pour
i A python3-matplotlib - Python based plotting system in a style si
i python3-minimal - sous-ensemble minimal du langage Python (v
i A python3-more-itertools - library with routines for operating on ite
i A python3-munch - dot-accessible dictionary similar to JavaS
i python3-nacl - Python bindings to libsodium (Python 3)
i A python3-nbformat - Jupyter notebook format (Python 3)
i python3-netifaces - informations portables sur l'interface rés
i python3-nose - test discovery and running for Python3 uni
i A python3-numexpr - Fast numerical array expression evaluator
i A python3-numpy - gestion rapide des tableaux avec le langag
i python3-oauthlib - mise en œuvre de OAuth générique et confor
i A python3-openpyxl - Python 3 module to read/write OpenXML xlsx
i A python3-owslib - Client library for Open Geospatial (OGC) w
i A python3-packaging - core utilities for python3 packages
i python3-pam - Interface Python pour la bibliothèque PAM
i A python3-pandas - structures de données pour des données « r
i A python3-pandas-lib - low-level implementations and bindings for
i python3-parted - Python 3 interface for libparted
i A python3-patsy - statistical models in Python using symboli
i python3-pexpect - module Python⋅3 d'automatisation d'applica
i python3-pil - Python Imaging Library (Python3)
i python3-pkg-resources - découverte de paquets et accès aux ressour
i A python3-plotly - Python 3 plotting library for publication-
i A python3-pluggy - plugin and hook calling mechanisms for Pyt
i python3-problem-report - bibliothèque Python 3 pour gérer les signa
i python3-protobuf - Python 3 bindings for protocol buffers
i python3-psutil - modules fournissant des fonctions pratique
i A python3-psycopg2 - module Python 3 pour PostgreSQL
i python3-ptyprocess - exécution d'un sous-processus dans un pseu
i A python3-py - Advanced Python development support librar
i python3-pyatspi - Interface de fournisseur de service de tec
i python3-pycurl - liaisons Python à libcurl (Python 3)
i A python3-pygments - paquet de coloration syntaxique écrit en P
i python3-pyinotify - liaisons simples pour Python avec inotify
i python3-pymacaroons - Macaroon library for Python 3
i A python3-pyparsing - alternative to creating and executing simp
i A python3-pyproj - interface Python⋅3 avec la bibliothèque PR
i A python3-pyqt5 - liaisons de Python 3 pour Qt5
i A python3-pyqt5.qsci - bindings Python 3 pour QScintilla 2 avec Q
i A python3-pyqt5.qtsql - liaisons Python 3 pour le module SQL de Qt
i A python3-pyqt5.qtsvg - liaisons Python 3 pour le module SVG de Qt
i A python3-pyqt5.qtwebkit - liaisons Python 3 pour le module WebKit de
i A python3-pyrsistent - persistent/functional/immutable data struc
i python3-pysal - bibliothèque d'analyse spatiale en Python
i A python3-pytest - Simple, powerful testing in Python3
i python3-qgis - Interfaçage Python à QGIS
i A python3-qgis-common - Python bindings to QGIS - architecture-ind
i python3-reportlab - bibliothèque ReportLab pour créer des docu
i python3-reportlab-accel - accélérateur d’extension codé en C pour la
i python3-requests - bibliothèque HTTP simple et élégante pour
i python3-requests-unixsocket - Use requests to talk HTTP via a UNIX domai
i A python3-retrying - simplifies the task of adding retry behavi
i python3-rfc3339 - parser and generator of RFC 3339-compliant
i A python3-rtree - R-Tree spatial index for Python GIS - Pyth
i python3-samba - Python 3 bindings for Samba
i A python3-scipy - Outils scientifiques pour Python 3
i A python3-seaborn - statistical visualization library for Pyth
i python3-secretstorage - Module Python pour stocker des secrets - v
i python3-setproctitle - Setproctitle implementation for Python 3
i A python3-setuptools - Améliorations de Python3 Distutils
i A python3-shapely - geometric objects, predicates, and operati
i python3-simplejson - simple, fast, extensible JSON encoder/deco
i A python3-sip - Python 3/C++ bindings generator runtime li
i python3-six - bibliothèque de compatibilité Python 2 et
i A python3-sklearn - Python modules for machine learning and da
i A python3-sklearn-lib - low-level implementations and bindings for
i python3-soupsieve - modern CSS selector implementation for Bea
i python3-speechd - Interface Python pour Speech Dispatcher
i A python3-statsmodels - Python3 module for the estimation of stati
i A python3-statsmodels-lib - Python3 low-level implementations and bind
i python3-systemd - liaisons Python 3 pour systemd
i A python3-tables - hierarchical database for Python3 based on
i A python3-tables-lib - hierarchical database for Python3 based on
i python3-talloc - hierarchical pool based memory allocator -
i python3-tdb - Python3 bindings for TDB
i python3-tinycss2 - Low-level CSS parser (Python3 version)
i A python3-tk - Tkinter –⋅écriture d'applications Tk avec
i A python3-tqdm - fast, extensible progress bar for Python 3
i A python3-traitlets - Lightweight Traits-like package for Python
i python3-tz - version Python3 de la base de données de f
i python3-unidecode - translittérations en ASCII de texte Unicod
i python3-uno - pont Python-UNO
i python3-urllib3 - Bibliothèque HTTP de regroupement de conne
i python3-wadllib - bibliothèque Python 3 pour naviguer des fi
i A python3-wcwidth - determine printable width of a string on a
i python3-webencodings - Python implementation of the WHATWG Encodi
i A python3-wrapt - decorators, wrappers and monkey patching.
i python3-xapp - Python 3 XApp library
i python3-xdg - bibliothèque Python⋅3 d'accès aux normes f
i python3-xkit - Bibliothèque pour la manipulation de fichi
i python3-xlib - interface for Python 3 to the X11 protocol
i A python3-xlrd - extract data from Microsoft Excel spreadsh
i A python3-xlwt - module for writing Microsoft Excel spreads
i python3-yaml - analyseur et générateur de code YAML pour
i python3-zeroconf - Pure Python implementation of multicast DN
i A python3-zipp - pathlib-compatible Zipfile object wrapper
i python3.8 - Interactive high-level object-oriented lan
i A python3.8-dev - Header files and a static library for Pyth
i python3.8-minimal - Minimal subset of the Python language (ver
administrateur@administrateur-W65-67SJ:~$
Re: QGIS - Erreur Python à l'ouverture
Posté : lun. 2 nov. 2020 21:06
par lemont
Il ne le trouve pas :
Code : Tout sélectionner
administrateur@administrateur-W65-67SJ:~$ sudo apt install python3-pyqt5.sip
[sudo] Mot de passe de administrateur :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet python3-pyqt5.sip
Re: QGIS - Erreur Python à l'ouverture
Posté : lun. 2 nov. 2020 21:22
par lemont
cela donne :
Code : Tout sélectionner
administrateur@administrateur-W65-67SJ:~$ aptitude search python3-pyqt5
i A python3-pyqt5 - liaisons de Python 3 pour Qt5
p python3-pyqt5:i386 - liaisons de Python 3 pour Qt5
p python3-pyqt5-dbg - liaisons de Python 3 pour Qt5 – extensions
p python3-pyqt5-dbg:i386 - liaisons de Python 3 pour Qt5 – extensions
i A python3-pyqt5.qsci - bindings Python 3 pour QScintilla 2 avec Q
p python3-pyqt5.qtchart - liaisons de Python 3 pour le module Charts
p python3-pyqt5.qtchart-dbg - Python 3 bindings for Qt5's Charts module
p python3-pyqt5.qtmultimedia - liaisons Python 3 pour le module multimédi
p python3-pyqt5.qtmultimedia:i386 - liaisons Python 3 pour le module multimédi
p python3-pyqt5.qtmultimedia-dbg - liaisons Python 3 pour le module multimédi
p python3-pyqt5.qtmultimedia-dbg: - liaisons Python 3 pour le module multimédi
p python3-pyqt5.qtopengl - liaisons Python 3 pour le module OpenGL de
p python3-pyqt5.qtopengl:i386 - liaisons Python 3 pour le module OpenGL de
p python3-pyqt5.qtopengl-dbg - liaisons Python 3 pour le module OpenGL de
p python3-pyqt5.qtopengl-dbg:i386 - liaisons Python 3 pour le module OpenGL de
p python3-pyqt5.qtpositioning - Python 3 bindings for QtPositioning module
p python3-pyqt5.qtpositioning:i38 - Python 3 bindings for QtPositioning module
p python3-pyqt5.qtpositioning-dbg - Python 3 bindings for QtPositioning module
p python3-pyqt5.qtpositioning-dbg - Python 3 bindings for QtPositioning module
p python3-pyqt5.qtquick - liaisons Python 3 pour le module QtQuick
p python3-pyqt5.qtquick:i386 - liaisons Python 3 pour le module QtQuick
p python3-pyqt5.qtquick-dbg - liaisons Python 3 pour le module QtQuick (
p python3-pyqt5.qtquick-dbg:i386 - liaisons Python 3 pour le module QtQuick (
p python3-pyqt5.qtsensors - interfaces Python 3 pour le module QtSenso
p python3-pyqt5.qtsensors:i386 - interfaces Python 3 pour le module QtSenso
p python3-pyqt5.qtsensors-dbg - liaisons Python 3 pour le module QtSensors
p python3-pyqt5.qtsensors-dbg:i38 - liaisons Python 3 pour le module QtSensors
p python3-pyqt5.qtserialport - liaisons Python 3 pour le module QtSerialP
p python3-pyqt5.qtserialport:i386 - liaisons Python 3 pour le module QtSerialP
p python3-pyqt5.qtserialport-dbg - liaisons Python 3 pour le module QtSerialP
p python3-pyqt5.qtserialport-dbg: - liaisons Python 3 pour le module QtSerialP
i A python3-pyqt5.qtsql - liaisons Python 3 pour le module SQL de Qt
p python3-pyqt5.qtsql:i386 - liaisons Python 3 pour le module SQL de Qt
p python3-pyqt5.qtsql-dbg - liaisons Python 3 pour le module SQL de Qt
p python3-pyqt5.qtsql-dbg:i386 - liaisons Python 3 pour le module SQL de Qt
i A python3-pyqt5.qtsvg - liaisons Python 3 pour le module SVG de Qt
p python3-pyqt5.qtsvg:i386 - liaisons Python 3 pour le module SVG de Qt
p python3-pyqt5.qtsvg-dbg - liaisons Python 3 pour le module SVG de Qt
p python3-pyqt5.qtsvg-dbg:i386 - liaisons Python 3 pour le module SVG de Qt
p python3-pyqt5.qtwebchannel - Python 3 bindings for Qt5's WebChannel mod
p python3-pyqt5.qtwebchannel:i386 - Python 3 bindings for Qt5's WebChannel mod
p python3-pyqt5.qtwebchannel-dbg - Python 3 bindings for Qt5's Webchannel mod
p python3-pyqt5.qtwebchannel-dbg: - Python 3 bindings for Qt5's Webchannel mod
p python3-pyqt5.qtwebengine - liaisons Python 3 avec le module WebEngine
p python3-pyqt5.qtwebengine-dbg - Python 3 bindings for Qt5's WebEngine modu
i A python3-pyqt5.qtwebkit - liaisons Python 3 pour le module WebKit de
p python3-pyqt5.qtwebkit:i386 - liaisons Python 3 pour le module WebKit de
p python3-pyqt5.qtwebkit-dbg - liaisons Python 3 pour le module WebKit de
p python3-pyqt5.qtwebkit-dbg:i386 - liaisons Python 3 pour le module WebKit de
p python3-pyqt5.qtwebsockets - Python 3 bindings for Qt5's WebSockets mod
p python3-pyqt5.qtwebsockets:i386 - Python 3 bindings for Qt5's WebSockets mod
p python3-pyqt5.qtwebsockets-dbg - Python 3 bindings for Qt5's WebSockets mod
p python3-pyqt5.qtwebsockets-dbg: - Python 3 bindings for Qt5's WebSockets mod
p python3-pyqt5.qtx11extras - Python 3 bindings for QtX11Extras module
p python3-pyqt5.qtx11extras:i386 - Python 3 bindings for QtX11Extras module
p python3-pyqt5.qtx11extras-dbg - Python 3 bindings for QtX11Extras module (
p python3-pyqt5.qtx11extras-dbg:i - Python 3 bindings for QtX11Extras module (
p python3-pyqt5.qtxmlpatterns - liaisons Python 3 pour le module XmlPatter
p python3-pyqt5.qtxmlpatterns:i38 - liaisons Python 3 pour le module XmlPatter
p python3-pyqt5.qtxmlpatterns-dbg - liaisons Python 3 pour le module XmlPatter
p python3-pyqt5.qtxmlpatterns-dbg - liaisons Python 3 pour le module XmlPatter
p python3-pyqt5.qwt - Python version of the Qwt6 technical widge
administrateur@administrateur-W65-67SJ:~$
Re: QGIS - Erreur Python à l'ouverture
Posté : lun. 2 nov. 2020 21:32
par lemont
python3-pyqt5 semble bien installé sur mon système pourtant...
(case cochée en vert dans synaptic)
Re: QGIS - Erreur Python à l'ouverture
Posté : lun. 2 nov. 2020 21:46
par lemont
Linux Mint 20
Code : Tout sélectionner
System: Kernel: 5.4.0-52-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.7
wm: muffin dm: LightDM Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal
Machine: Type: Laptop System: Notebook product: W65_67SJ v: N/A serial: <filter> Chassis:
type: 9 serial: <filter>
Mobo: Notebook model: W65_67SJ serial: <filter> BIOS: American Megatrends v: 1.03.05
date: 04/01/2014
Battery: ID-1: BAT0 charge: 23.4 Wh condition: 46.6/48.8 Wh (95%) volts: 11.6/11.1
model: Notebook BAT serial: <filter> status: Charging
CPU: Topology: Dual Core model: Intel Core i5-4210M bits: 64 type: MT MCP arch: Haswell
rev: 3 L2 cache: 3072 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20753
Speed: 983 MHz min/max: 800/3200 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 798
Graphics: Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: CLEVO/KAPOK
driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0416
Device-2: NVIDIA GM107M [GeForce GTX 850M] vendor: CLEVO/KAPOK driver: nvidia
v: 450.80.02 bus ID: 01:00.0 chip ID: 10de:1391
Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia
unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) v: 4.5 Mesa 20.0.8
compat-v: 3.0 direct render: Yes
Audio: Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: CLEVO/KAPOK
driver: snd_hda_intel v: kernel bus ID: 00:03.0 chip ID: 8086:0c0c
Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: CLEVO/KAPOK
driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:8c20
Sound Server: ALSA v: k5.4.0-52-generic
Network: Device-1: Intel Wireless 7260 driver: iwlwifi v: kernel port: e000 bus ID: 03:00.0
chip ID: 8086:08b1
IF: wlp3s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: CLEVO/KAPOK
driver: r8169 v: kernel port: d000 bus ID: 04:00.2 chip ID: 10ec:8168
IF: enp4s0f2 state: down mac: <filter>
Drives: Local Storage: total: 987.41 GiB used: 484.81 GiB (49.1%)
ID-1: /dev/sda vendor: Kingston model: SMS200S360G size: 55.90 GiB speed: 6.0 Gb/s
serial: <filter>
ID-2: /dev/sdb model: SATA3 1TB SSD size: 931.51 GiB speed: 6.0 Gb/s serial: <filter>
Partition: ID-1: / size: 45.58 GiB used: 17.13 GiB (37.6%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 915.89 GiB used: 467.65 GiB (51.1%) fs: ext4 dev: /dev/sdb1
ID-3: swap-1 size: 9.33 GiB used: 32.0 MiB (0.3%) fs: swap dev: /dev/sda5
Sensors: System Temperatures: cpu: 97.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] http: //dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //mirrors.evowise.com/linuxmint/packages ulyana main upstream import backport
2: deb http: //ubuntu.univ-reims.fr/ubuntu focal main restricted universe multiverse
3: deb http: //ubuntu.univ-reims.fr/ubuntu focal-updates main restricted universe multiverse
4: deb http: //ubuntu.univ-reims.fr/ubuntu focal-backports main restricted universe multiverse
5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
6: deb http: //archive.canonical.com/ubuntu/ focal partner
Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
1: deb [arch=amd64] https: //repo.skype.com/deb stable main
Active apt repos in: /etc/apt/sources.list.d/teams.list
1: deb [arch=amd64] https: //packages.microsoft.com/repos/ms-teams stable main
Info: Processes: 222 Uptime: 1d 5h 34m Memory: 7.66 GiB used: 1.50 GiB (19.6%) Init: systemd
v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client
inxi: 3.0.38
Re: QGIS - Erreur Python à l'ouverture
Posté : lun. 2 nov. 2020 23:01
par débitant
@lemont
merci d'éditer ton message et de mettre le retour du terminal entre les balises "code"
voir
tuto barre d'outils des messages
Re: QGIS - Erreur Python à l'ouverture
Posté : mar. 3 nov. 2020 02:50
par lemont
cyrille a écrit : lun. 2 nov. 2020 21:48
tu peux donner
car à priori la version de mint c'est la 3.10
Ca donne ça :
Code : Tout sélectionner
administrateur@administrateur-W65-67SJ:~$ apt-cache policy qgis
qgis:
Installé : 3.10.4+dfsg-1ubuntu2
Candidat : 3.10.4+dfsg-1ubuntu2
Table de version :
*** 3.10.4+dfsg-1ubuntu2 500
500 http://ubuntu.univ-reims.fr/ubuntu focal/universe amd64 Packages
100 /var/lib/dpkg/status
administrateur@administrateur-W65-67SJ:~$
Re: QGIS - Erreur Python à l'ouverture
Posté : mar. 3 nov. 2020 02:55
par lemont
cyrille a écrit : lun. 2 nov. 2020 22:09
Sinon tu peux essayer, mais sans trop de conviction
les deux commandes ont bien fonctionné dans le sens où des tas de trucs se sont installés, mais le message d'erreur python est toujours là à l'ouverture de qgis
RESOLU : QGIS - Erreur Python à l'ouverture
Posté : mer. 11 nov. 2020 17:28
par lemont
Bonjour à tous,
Merci encore à Cyrille d'avoir pris le temps de m'aider.
Au final j'ai fini par trouver l'explication de mon problème, cela sera peut-être utile à d'autre. C'est super con, mais on sait jamais, cela sera peut-être utile à d'autres :
Mon QGIS qui refusait de charger les extensions python était en fait installé depuis Flatpak, je n'y avais pas fait attention.
La version présente dans les dépôts fonctionne sans problème !