Dependencia desconocida o no disponible para gespeaker, ¡necesita Python!

Dependencia desconocida o no disponible para gespeaker, ¡necesita Python!

Queriendo gespeaker para ubuntu. Entonces logré instalar Python2 en mi instalación de Ubuntu 20.04.

sudo apt-get install python2
sudo python2 setup.py install

Parece que no hay errores -/

Todavía afirma que gespeaker tiene dependencias (no listadas) en la aplicación de software y también en la línea de comandos

sudo dpkg -i "gespeaker_0.8.6-1_all.deb"

RESULTADOS:

sudo dpkg -i "gespeaker_0.8.6-1_all.deb"
Selecting previously unselected package gespeaker.        
(Reading database ... 197742 files and directories currently installed.)        
Preparing to unpack gespeaker_0.8.6-1_all.deb ...        
Unpacking gespeaker (0.8.6-1) ...        
dpkg: dependency problems prevent configuration of gespeaker:        
gespeaker depends on python-glade2; however:        
Package python-glade2 is not installed.        
gespeaker depends on python-gobject; however:        
Package python-gobject is not installed.        
gespeaker depends on python-gtk2; however:        
Package python-gtk2 is not installed.        
gespeaker depends on python-xdg; however:        
Package python-xdg is not installed.        
gespeaker depends on python:any (>= 2.7.5-5~); however:        
       
dpkg: error processing package gespeaker (--install):        
dependency problems - leaving unconfigured        
Processing triggers for man-db (2.9.1-1) ...        
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...        
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...        
Processing triggers for mime-support (3.64ubuntu1) ...        
Errors were encountered while processing:        
gespeaker        

espeak "This is a test" funciona bien en la línea de comandos. Gespeaker aparece en la lista de aplicaciones GUI, falla al iniciar. ¿Este problema tuvo la última vez en Ubuntu? ¿Parece una dependencia de Python?

ACTUALIZAR:

sudo apt-get upgraderesultados:

The following packages have unmet dependencies:        
 gespeaker : Depends: python-glade2 but it is not installable        
             Depends: python-gobject but it is not installed        
             Depends: python-gtk2 but it is not installable        
             Depends: python-xdg but it is not installed        
             Depends: python:any (>= 2.7.5-5~)        

Respuesta1

Ok, entonces estás intentando usar GeSpeaker desdeRepositorio Ubuntu 18.04 LTS. Esta versión anterior de Ubuntu tenía más bibliotecas de Python 2. Aún puedes instalarlos en 20.04 LTS mediante la descarga manual:

cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/g/gespeaker/gespeaker_0.8.6-1_all.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-glade2_2.24.0-5.1ubuntu2_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/main/d/dbus-python/python-dbus_1.2.6-1_amd64.deb

sudo apt-get install ./gespeaker_0.8.6-1_all.deb ./python-glade2_2.24.0-5.1ubuntu2_amd64.deb ./python-gtk2_2.24.0-5.1ubuntu2_amd64.deb ./python-dbus_1.2.6-1_amd64.deb

y disfrutar.

información relacionada