Closed BorisFR closed 5 years ago
Je tente
sudo apt update
sudo apt upgrade
et la nouvelle phase 3 :
wget https://github.com/pguyot/kaldi/releases/download/v5.4.1/kaldi-c3260f2-linux_armv6l-vfp.tgz
cd / && sudo tar xvf /home/pi/kaldi-c3260f2-linux_armv6l-vfp.tgz
puis retente la mise à jour...
Je vous tiens au courant d'ici peu si c'est ok ou pas ;)
J'ai ré-appliqué l'étape 2 qui contient de nouveaux packages :
sudo apt-get install postgresql libpq-dev git python3 python3-venv gettext nginx openssl libssl-dev libffi-dev libmpg123-dev libasound2-dev
L'url de la release a changée : https://github.com/pguyot/kaldi/releases/download/v5.4.1/kaldi-c3260f2-linux_armv6l-vfp.tar.xz
Et il manque toujours numpy... à priori ce qui est normal car c'est un module qu'il faut ajouter à python.
Pour info, ce n'est pas nécessaire d'installer kaldi sur un tagtagtag avec la carte V1 car il n'y a pas de micro sur cette carte et du coup pas de reconnaissance vocale. Kaldi est désormais installé directement avec le script install.sh, avec la bonne URL, et uniquement pour les cartes V2.
Le bug était dans le fichier requirements.txt, normalement c'est corrigé avec le commit a86fc7b. En théorie, on peut mettre à jour directement depuis l'interface web, mais je pense qu'il faudrait davantage de robustesse. Si nécessaire, la commande bash upgrade.sh
devrait fonctionner : elle arrête les services, fait un git pull puis appelle la nouvelle version de upgrade.sh.
N'hésitez pas à rouvrir le ticket si le problème persiste.
J'ai fini par faire un mv pynab en pyold et faire un git pull puis install.sh qui est en cours :)
Bon, ça foire :
Building wheels for collected packages: psycopg2-binary, cryptography, cffi, PyYAML
Running setup.py bdist_wheel for psycopg2-binary ... error
Complete output from command /home/pi/pynab/venv/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-fazl3m1o/psycopg2-binary/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpr1l8y_y4pip-wheel- --python-tag cp35:
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'project_urls'
warnings.warn(msg)
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for psycopg2-binary
Je reviens en arrière et tente l'upgrade à nouveau.
Bonjour. Je suis le 1er Nabaztag mis à jour à la Maker Faire Paris ;)
Souci avec l'upgrade actuelle. via l'interface web : j'obtiens un "502 Bad Gateway" si je le fais via la ligne de commande :
Help me!