Неизвестная или недоступная зависимость для gespeaker, требуется python!

Хочу gespeaker для ubuntu. Итак, мне удалось установить Python2 в мою установку Ubuntu 20.04.

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

Похоже, ошибок нет -/

Все еще утверждает, что у gespeaker есть (не указанные) зависимости в программном приложении, а также в командной строке

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

РЕЗУЛЬТАТЫ:

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" работает нормально в командной строке. Gespeaker отображается в списке приложений GUI, но при запуске не работает. Была такая проблема на прошлой ubuntu, кажется, зависимость от python?

UPDATE:

sudo apt-get upgrade resuts:

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~)        
1
задан 15 June 2021 в 18:40

1 ответ

Итак, вы пытаетесь использовать GeSpeaker из репозитория Ubuntu 18.04 LTS . В этой предыдущей версии Ubuntu было больше библиотек Python 2. Вы все еще можете установить их на 20.04 LTS, загрузив вручную:

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

и наслаждайтесь.

1
ответ дан 28 July 2021 в 11:28

Другие вопросы по тегам:

Похожие вопросы: