i am trying to launch an old python2 script. On ubuntu 18.04 i installed python-glade2 and it worked, unfortunately ubuntu 20.04 doesn't have it in repositories. Is there a way to get this gtk.glade module? Maybe some other library that provides it?
@edit: after following N0rbert's suggestions gtk/glade are installed but, unfortunately I also need python-gdal which I was trying to install in a similiar way and got error:
The following packages have unmet dependencies. python-gdal : Depends: gdal-abi-2-2-3 but it is not installable Depends: libgdal20 (>= 2.2.2) but it is not installable E: Unable to correct problems, you have held broken packages.
I assume that some packages from Ubuntu 20 that i need conflicts with the ones from ubuntu 18.
output of apt-cache policy python-gdal libgdal20
:
python-gdal: Installed: (none) Candidate: (none) Version table: libgdal20: Installed: (none) Candidate: (none) Version table:
I am wondering if downloading .debs from ubuntu 18, then extracting only .py files and copying them into script directory is an only option here –
The
python-gtk2
withpython-glade2
may be installed manually using packages from 18.04 LTS by the commands below: