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
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
I have no idea what I could do to solve the problem.
gael.
On 12/12/23 18:36, chris hermansen wrote:
Gael and list,
On Tue, Dec 12, 2023 at 8:03 AM Gael Kermarrec via QGIS-User
<qgis-user@lists.osgeo.org> wrote:
Dear members,
I am trying to install Qgis from Ubuntu 20.04 but everytime I make
sudo
apt install qgis qgis-plugin-grass I become the following:
The following packages contain unsatisfied dependencies:
qgis: Depends on python3-qgis (= 1:3.22.16+32focal) but
1:3.26.3+32focal-ubuntugis needs to be installed
Depends on qgis-providers (= 1:3.22.16+32focal) but
1:3.26.3+32focal-ubuntugis needs to be installed
Depends on qgis-common (= 1:3.22.16+32focal) but
1:3.26.3+32focal-ubuntugis needs to be installed
qgis-plugin-grass: Depends on qgis-plugin-grass-common (=
1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be
installed
Depends on grass782
E: Unable to correct problems, defective packages are in "keep in the
current state" mode.
I have no idea what I should do to make it works. Maybe somebody
had the
same problem, I would be grateful to get some support as I would
like to
work with QGis.
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:
https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu
If you just want to correct the unsatisfied dependencies, it's
probably worth trying your command again with the "-f" option:
apt install -f qgis qgis-plugin-grass
In any event, I suggest you read this useful mini-tutorial on fixing
unsatisfied dependencies.
https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa
--
Chris Hermansen · clhermansen "at" gmail "dot" com
C'est ma façon de parler.
--
-------********---------
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:kermar...@meteo.uni-hannover.de
Web:www.meteo.uni-hannover.de
_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user