<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr"><div dir="auto">Hi, this is a qgis python problem since I got such error for everything involving python with qgis. This was just an exemple. For sure I installed and reinstalled it :-). I hope that someone had the same pb</div><br><br><div class="gmail_quote"><div dir="auto">Le 13 décembre 2023 07:56:38 GMT+01:00, Frank Broniewski <broniewski@a-a.lu> a écrit :</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Hi Gael,</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
this is not a QGIS problem, but one of your installed plugins is causing the issue. The first line mentions it already</div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 12pt; font-weight: 400; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">> Couldn't
 load plugin 'crayfish'</span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 12pt; font-weight: 400; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 12pt; font-weight: 400; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">I
 don't know the plugin, but you could try to delete / uninstall it and reinstall it again. If you go in a terminal to /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins and delete the 'crayfish' folder, QGIS should start without the error.</span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 12pt; font-weight: 400; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 12pt; font-weight: 400; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Further
 down the line the vrtbuilder plugin is mentioned as well, you might want to delete and reinstall it as well, just to be sure if the crayfish plugin is a dependency of the vrtbuilder plugin.</span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 12pt; font-weight: 400; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 12pt; font-weight: 400; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">HTH</span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 12pt; font-weight: 400; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Frank</span></div>
<div id="appendonsend"></div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg" dir="ltr"><span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>Von:</b> QGIS-User <qgis-user-bounces@lists.osgeo.org> im Auftrag von Gael Kermarrec via QGIS-User <qgis-user@lists.osgeo.org><br>
<b>Gesendet:</b> Mittwoch, 13. Dezember 2023 01:52<br>
<b>An:</b> chris hermansen <clhermansen@gmail.com><br>
<b>Cc:</b> qgis-user@lists.osgeo.org <qgis-user@lists.osgeo.org><br>
<b>Betreff:</b> Re: [Qgis-user] [extern] Re: Problem with Python/Qgis</span>
<div> </div>
</div>
<p style="white-space: pre-wrap;">thanks chris for your help. I tried your suggestion, I was able to install Qgis but interestingly as I launched it I got immediatly the error message
</p>
<p style="white-space: pre-wrap;">Couldn't load plugin 'crayfish' due to an error when calling its initGui() method AttributeError: module 'pyqtgraph' has no attribute 'GraphicsWindow' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/qgis/utils.py",
 line 448, in startPlugin plugins[packageName].initGui() File "/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/crayfish/plugin.py", line 96, in initGui w = CrayfishPlotWidget(self.plot_dock_widget) File "/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/crayfish/gui/plot_widget.py",
 line 186, in __init__ self.gw = pyqtgraph.GraphicsWindow() AttributeError: module 'pyqtgraph' has no attribute 'GraphicsWindow' Python version: 3.8.10 (default, Nov 22 2023, 10:22:35) [GCC 9.4.0] QGIS version: 3.26.3-Buenos Aires Buenos Aires, 65e4edfdad Python
 Path: /usr/share/qgis/python /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins /usr/share/qgis/python/plugins /usr/lib/python38.zip /usr/lib/python3.8 /usr/lib/python3.8/lib-dynload
 /usr/local/lib/python3.8/dist-packages /usr/lib/python3/dist-packages /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python /home/kermarrec/.local/share/gis4wrf/python38/local/lib/python3.8/site-packages /home/kermarrec/.local/share/gis4wrf/python38/lib/python3/site-packages
 /home/kermarrec/.local/share/gis4wrf/python38/lib/python3.8/site-packages . /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/vrtbuilderplugin /home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/vrtbuilderplugin/vrtbuilder</p>
<p style="white-space: pre-wrap;">I have no idea what I could do to solve the problem.</p>
<p style="white-space: pre-wrap;">gael. </p>
<div>On 12/12/23 18:36, chris hermansen wrote:</div>
<blockquote>
<div style="direction: ltr;">Gael and list,</div>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr;">On Tue, Dec 12, 2023 at 8:03 AM Gael Kermarrec via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org" id="OWA9f90b11d-8161-cf16-b5d5-8392afadeae2" class="x_moz-txt-link-freetext OWAAutoLink" data-loopstyle="linkonly">qgis-user@lists.osgeo.org</a>>
 wrote:</div>
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left: 1px solid rgb(204, 204, 204);">
<div style="direction: ltr;">Dear members,<br>
<br>
I am trying to install Qgis from Ubuntu 20.04 but everytime I make sudo<br>
apt install qgis qgis-plugin-grass I become the following:<br>
<br>
<br>
The following packages contain unsatisfied dependencies:<br>
qgis: Depends on python3-qgis (= 1:3.22.16+32focal) but<br>
1:3.26.3+32focal-ubuntugis needs to be installed<br>
Depends on qgis-providers (= 1:3.22.16+32focal) but<br>
1:3.26.3+32focal-ubuntugis needs to be installed<br>
Depends on qgis-common (= 1:3.22.16+32focal) but<br>
1:3.26.3+32focal-ubuntugis needs to be installed<br>
qgis-plugin-grass: Depends on qgis-plugin-grass-common (=<br>
1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed<br>
Depends on grass782<br>
E: Unable to correct problems, defective packages are in "keep in the<br>
current state" mode.<br>
<br>
I have no idea what I should do to make it works. Maybe somebody had the<br>
same problem, I would be grateful to get some support as I would like to<br>
work with QGis.<br>
<br>
</div>
</blockquote>
<div style="direction: ltr;">It looks as though you might be trying to work with the ubuntugis PPA.  If that's so, maybe you should consider trying the suggested methodology on the QGIS site here:</div>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr;"><a href="https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu" id="OWAc73b392a-51c0-f099-7bad-b75b4c699310" class="x_moz-txt-link-freetext OWAAutoLink" data-auth="NotApplicable" data-loopstyle="linkonly">https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu</a><br>
<br>
If you just want to correct the unsatisfied dependencies, it's probably worth trying your command again with the "-f" option:</div>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr;">apt install -f qgis qgis-plugin-grass</div>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr;">In any event, I suggest you read this useful mini-tutorial on fixing unsatisfied dependencies.</div>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr;"><a href="https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa" id="OWAe28fa826-46b4-eb1e-666d-b4abf412adb7" class="x_moz-txt-link-freetext OWAAutoLink" data-auth="NotApplicable" data-loopstyle="linkonly">https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa</a></div>
<div style="direction: ltr;">--</div>
<div style="direction: ltr;">Chris Hermansen · clhermansen "at" gmail "dot" com<br>
<br>
C'est ma façon de parler.</div>
</blockquote>
<pre><div>-- 
-------********---------
Dr. Gael Kermarrec
Institute for meteorology and climatology
Leibniz Universität Hannover
Herrenhäuser Str. 2
D-30419 Hannover
Tel: +49 511 762 2679
Email: <a href="mailto:kermarrec@meteo.uni-hannover.de" id="OWAc071bdd6-76ba-c998-22e6-095e95e6baa5" class="x_moz-txt-link-abbreviated OWAAutoLink" data-loopstyle="linkonly">kermarrec@meteo.uni-hannover.de</a>
Web: <a href="http://www.meteo.uni-hannover.de" id="OWA26beb487-fda4-1fa9-0009-62b0e42b9d43" class="x_moz-txt-link-abbreviated OWAAutoLink" data-auth="NotApplicable" data-loopstyle="linkonly">www.meteo.uni-hannover.de</a></div></pre>
</blockquote></div></body>
</html>