RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/OLED
Re: RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/
Hello, would anyone be able to create an image of Volumio 2 with the dhrone pydPiper script to use an oled winstar screen
Thank you
Thank you
Re: RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/
Hello,After changing the line 49 it works. But the display informations are not very readable. I will try to install your pydPiper script if i have Enough courage !!dhrone a écrit :The script you are using is very old and is not the code that is included in the RuneAudio Image that Audiophonics has created. Still, if you would like to use it, I believe you can get it to work if you make a small change to the script.
Change line 49 from...toCode : Tout sélectionner
LCD_D7 = 15
Code : Tout sélectionner
LCD_D7 = 27
Thank you for your help !!
Jonathan !
Re: RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/
Hi.. I currently have Moode v 2.7 running with an unknown OLED script.. this gives me track bit rate information. and when no track is playing, it scrolls with added disk space information.
which script is this please?
I have tried the latest image from this forum, but the OLED information doesnt display this bitrate detail , what script is this one.
thanks in anticipation
Funk
which script is this please?
I have tried the latest image from this forum, but the OLED information doesnt display this bitrate detail , what script is this one.
thanks in anticipation
Funk
Re: RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/
Bonjour,
J'ai développé un plugin pour Volumio 2 permettant de gérer le bouton power ainsi que l’écran LCD du Raspdac V3.
Le plugin se trouve ici :
https://github.com/JedS/Raspdac/release ... .0.0.2.zip" onclick="window.open(this.href);return false;
J'ai développé un plugin pour Volumio 2 permettant de gérer le bouton power ainsi que l’écran LCD du Raspdac V3.
Le plugin se trouve ici :
https://github.com/JedS/Raspdac/release ... .0.0.2.zip" onclick="window.open(this.href);return false;
-
- Messages : 1
- Inscription : dim. 30 avr. 2017 22:24
Re: RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/
Merci Jeds pour ce plugins génial qui fonctionne très bien sur le bouton mais je n'est toujours pas l'écran, du coup j'ai un doute sur les branchements de l'écran, sur le dac sabre il y a lcd 1 et lcd 2, du coup en logique j'ai branché lcd2 sur l'ecran coté gauche (ecran face à moi) puis lcd 1 a droite, as tu une idée pour corrigé ce problème.
Merci d'avance
ghostdog
Merci d'avance
ghostdog
Re: RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/
Actuellement, l’écran n'est actif que lorsque Volumio est en mode lecture.
Sur le modèle V3, il faut faire attention à tes branchement, notamment une des nappes est inversée par rapport a l'autre.
Sur cette page, tu auras des images pour le montage de ton écran selon ton modèle :
http://www.audiophonics.fr/fr/dac-diy/a ... 10657.html
Il se peut aussi que ton DAC n'ai pas la même configuration pour les connecteurs GPIO que celui que j'ai ( DATA : GPIO07, EN: GPIO08, DATA: [GPIO25, GPIO24, GPIO23, GPIO27]).
Sur le modèle V3, il faut faire attention à tes branchement, notamment une des nappes est inversée par rapport a l'autre.
Sur cette page, tu auras des images pour le montage de ton écran selon ton modèle :
http://www.audiophonics.fr/fr/dac-diy/a ... 10657.html
Il se peut aussi que ton DAC n'ai pas la même configuration pour les connecteurs GPIO que celui que j'ai ( DATA : GPIO07, EN: GPIO08, DATA: [GPIO25, GPIO24, GPIO23, GPIO27]).
-
- Messages : 1
- Inscription : jeu. 20 juil. 2017 10:20
Re: RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/
Today i received RaspDIGI Digipi + - Lecteur réseau Numérique Raspberry Pi & SPDIF WiFi and installed it with RuneAudio (actually it is reuse of an image i created in a stand alone PI)
Everything works perfect, however as i've seen in the multiple pages here i have 2 problems :
1. the display lights up but gives the most strange characters that do not even change with changing song
2. the power button keeps on blinking (it works for switching on or of)
I have followed the dhrone Raspdac-Display install for both display and power button but this does not seem to bring any difference.
i can not find any info regarding the DIGIPI + version, so maybe pinning is different ?
ps : does the display work when rune is only used as dlna renderer ?
thanks
Raf
Everything works perfect, however as i've seen in the multiple pages here i have 2 problems :
1. the display lights up but gives the most strange characters that do not even change with changing song
2. the power button keeps on blinking (it works for switching on or of)
I have followed the dhrone Raspdac-Display install for both display and power button but this does not seem to bring any difference.
i can not find any info regarding the DIGIPI + version, so maybe pinning is different ?
ps : does the display work when rune is only used as dlna renderer ?
thanks
Raf
Re: RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/
Bonjour, est ce que ce script est compatible volumio 2/ecran oled winstar/ dac hiffiberry ??JedS a écrit :Bonjour,
J'ai développé un plugin pour Volumio 2 permettant de gérer le bouton power ainsi que l’écran LCD du Raspdac V3.
Le plugin se trouve ici :
https://github.com/JedS/Raspdac/release ... .0.0.2.zip" onclick="window.open(this.href);return false;
Re: RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/
Je lavais tester sur une vielle image ou j'avais les anciens fichier installée et sa a cause des soucis, sur une nouvelle image ca marche bien sur mon device avec un Winstar OLEDjonathr67 a écrit :Bonjour, est ce que ce script est compatible volumio 2/ecran oled winstar/ dac hiffiberry ??JedS a écrit :Bonjour,
J'ai développé un plugin pour Volumio 2 permettant de gérer le bouton power ainsi que l’écran LCD du Raspdac V3.
Le plugin se trouve ici :
https://github.com/JedS/Raspdac/release ... .0.0.2.zip" onclick="window.open(this.href);return false;
Edit: J'ai efface le commentaire "Je l'ai teste et non il est seulement compatible avec l'écran LCD et pas l'écran OLED, je vais ouvrir un ticket sur la page du project sur GitHub pour voir si le dévelopeur veut intégrer compatibilité avec l'écran OLED, mais pour l'instant faut le faire manuellement" qui étai faux.
Re: RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/
Merci pour ce retour !
Il y a un autre script qui pourrait fonctionner avec un écran OLED Winstar, le script pydpiper de dhrone.
Je n'arrive pas à l'installer sur volumio 2, je cherche quelqu'un capable de m'aider.... Si possible partager une image de volumio 2 avec ce script installé... Ce serait vraiment super !
Il y a un autre script qui pourrait fonctionner avec un écran OLED Winstar, le script pydpiper de dhrone.
Je n'arrive pas à l'installer sur volumio 2, je cherche quelqu'un capable de m'aider.... Si possible partager une image de volumio 2 avec ce script installé... Ce serait vraiment super !
Re: RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/
Hi Friends!
I'm new here... and I have a little problem
(Yes i know, everyone has a problem...)
I built a mediaplayer from RaspPi 2 B, with this DAC:
http://www.audiophonics.fr/en/diy-dac/a ... 10176.html" onclick="window.open(this.href);return false;
I bought a 1602 LCD display from Aliex, I wired as the DAC picture show,
and read this forum, (the France text with google translator) but cannot do the installation...
I use Moode 3.8 - but i think no matter.
Could someone help me to step by step?
(in PM of course, or email, or skype...)
Thank you!
Have a nice day!
Kisszabo
I'm new here... and I have a little problem

(Yes i know, everyone has a problem...)
I built a mediaplayer from RaspPi 2 B, with this DAC:
http://www.audiophonics.fr/en/diy-dac/a ... 10176.html" onclick="window.open(this.href);return false;
I bought a 1602 LCD display from Aliex, I wired as the DAC picture show,
and read this forum, (the France text with google translator) but cannot do the installation...

I use Moode 3.8 - but i think no matter.
Could someone help me to step by step?
(in PM of course, or email, or skype...)
Thank you!
Have a nice day!
Kisszabo
Sex & Girls & Rock 'n Roll
Re: RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/
J'ai un RaspDac V3 avec écran OLED Winstar et pour ma part, le plugin fonctionne dessus.jonathr67 a écrit :Merci pour ce retour !
Il y a un autre script qui pourrait fonctionner avec un écran OLED Winstar, le script pydpiper de dhrone.
Je n'arrive pas à l'installer sur volumio 2, je cherche quelqu'un capable de m'aider.... Si possible partager une image de volumio 2 avec ce script installé... Ce serait vraiment super !
Le plugin affiche uniquement l'auteur/titre et la position/durée totale lors de la lecture et reste éteint le reste du temps.
Re: RaspDAC - Tutoriel pour affichage Volumio sur ecran LCD/OLED
Bonjour à tous,
cela fait des semaines que j'essaie de faire fonctionner mon petit raspberry pi 2 B avec l'écran LCD qui va bien (1602A) avec les scripts que je trouve sur ce forum mais ça ne fonctionne jamais, j'ai toujours des erreurs lors du lancement des commandes.
Je voudrais donc savoir si quelqu'un pouvait mettre un tuto à jour pour l'installation complète ?
Je précise que je ne connais rien à tout ce qui touche à linux, ce qui fait que dès qu'une commande ne fonctionne pas il m'est impossible de m'en sortir.
Je vous explique mes soucis lors des éxécutions des scripts.
Pour commencer, à la différence de certains, je ne suis jamais connecté avec le compte "root" mais avec le compte "pi" car je n'ai pas trouvé comment l'activer. J'ai donc dû rajouter la commande "sudo" devant chaque commande à lancer.
Dans le début du tutoriel, "Nicko" précise que la version ne fonctionne plus avec les kernels actuels. Mais comment déterminer ce qu'est un kernel récent d'un autre ?
Je suis donc parti du principe que j'avais un ancien kernel car quand je me connecte avec Puty, voici ce qui s'affiche une fois logué :
Linux volumio 3.18.5-v7+ #748 SMP PREEMPT Wed Feb 4 21:33:52 GMT 2015 armv7l
Voici donc ce qu'il se passe quand je lance les commandes :
wget -O /home/pi/python-rpi.gpio_0.5.11-1_armhf.deb https://archive.raspberrypi.org/debian/ ... _armhf.deb
Installer :
cd /home/pi/
dpkg -i python-rpi.gpio_0.5.11-1_armhf.deb
Ces commandes ont fonctionnés
Création du script python dans le dossier /home/pi :
J'ai copié par ftp le fichier puis j'ai lancé le la commande :
sudo python /home/pi/16x2_oled_volumio.py
le script a l'air de fonctionner car il ne se coupe quand faisant la combinaison de touches "ctrl +c"
Pour que volumio fonctionne je suis allé le configuré comme suit :
Menu / system / I2S driver : Hifiberry
Menu / turnoff : reboot
Puis j'ai continué le tuto :
Mais pour qu'il se lance au démarrage, on va ajouter un raccourci dans le fichier rc.local :
sudo nano /etc/rc.local
L'éditeur de texte s'ouvre, allez avec les flèches du claver (lâchez votre souris
), sur l'avant dernière ligne.
Ajoutez avant la dernière ligne "exit 0" ce texte :
python /home/pi/16x2_oled_volumio.py &
Sortez et enregistrez en tapant : "CTRL + X" puis "Y" puis "entrée"
Désormais le script démarrera automatiquement avec Volumio.
Tout a fonctionné correctement pour cette partie.
Sauf que si je lance une musique depuis l'interface de volumio en passant pour son adresse IP, l'écran LCD n'affiche pas le titre de la musique, il est allumé (dès que je branche le raspberry il est allumé) mais n'affiche aucun caractère.
Je me suis donc dit que j'allais suivre le tuto de "Cram28".
C'est à partir de là que les problèmes commencent.
Pour me simplifier la vie, j'ai installé PyPI - the Python Package Index (guide https://python-packaging-user-guide.rea ... en/latest/)
Il suffit:
- de récupérer le fichier là: https://bootstrap.pypa.io/get-pip.py
- de le déposer sur le RaspDac dans "/home/pi/" avec un outil ftp genre filezilla.
- de l'exécuter:
root@rocambole:/home/pi# python get-pip.py
Commande OK
- A partir de là, on peut récupérer les modules manquant avec la commande "pip install <module>"
Pour "moment", c'est Ok:
root@rocambole:/home/pi# pip install moment
Il fait le téléchargement puis voici le message d'erreur (très long) qui apparait :
Building wheels for collected packages: moment, regex
Building wheel for moment (setup.py) ... done
Created wheel for moment: filename=moment-0.8.2-cp27-none-any.whl size=6098 sha256=16fd6ea82a0fb70ca1301a7a435e7a9b2d47d982051820bb478396544f4ce5cf
Stored in directory: /root/.cache/pip/wheels/a3/34/33/a815da729a0a46eb92201ef672b921e5d5a31fa7370fa3d5ba
Building wheel for regex (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-l41OkQ/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-l41OkQ/regex/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/pip-wheel-A2yCo6 --python-tag cp27
cwd: /tmp/pip-install-l41OkQ/regex/
Complete output (22 lines):
BASE_DIR is /tmp/pip-install-l41OkQ/regex
/usr/local/lib/python2.7/dist-packages/setuptools/dist.py:474: UserWarning: Normalizing '2019.06.08' to '2019.6.8'
normalized_version,
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/regex
copying regex_2/regex/__init__.py -> build/lib.linux-armv7l-2.7/regex
copying regex_2/regex/regex.py -> build/lib.linux-armv7l-2.7/regex
copying regex_2/regex/_regex_core.py -> build/lib.linux-armv7l-2.7/regex
creating build/lib.linux-armv7l-2.7/regex/test
copying regex_2/regex/test/__init__.py -> build/lib.linux-armv7l-2.7/regex/test
copying regex_2/regex/test/test_regex.py -> build/lib.linux-armv7l-2.7/regex/test
running build_ext
building 'regex._regex' extension
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/regex_2
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c regex_2/_regex.c -o build/temp.linux-armv7l-2.7/regex_2/_regex.o
unable to execute 'arm-linux-gnueabihf-gcc': No such file or directory
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for regex
Running setup.py clean for regex
Successfully built moment
Failed to build regex
Installing collected packages: six, python-dateutil, pytz, tzlocal, regex, dateparser, backports.functools-lru-cache, arrow, times, moment
Running setup.py install for regex ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-l41OkQ/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-l41OkQ/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ae4xVO/install-record.txt --single-version-externally-managed --compile
cwd: /tmp/pip-install-l41OkQ/regex/
Complete output (22 lines):
BASE_DIR is /tmp/pip-install-l41OkQ/regex
/usr/local/lib/python2.7/dist-packages/setuptools/dist.py:474: UserWarning: Normalizing '2019.06.08' to '2019.6.8'
normalized_version,
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/regex
copying regex_2/regex/__init__.py -> build/lib.linux-armv7l-2.7/regex
copying regex_2/regex/regex.py -> build/lib.linux-armv7l-2.7/regex
copying regex_2/regex/_regex_core.py -> build/lib.linux-armv7l-2.7/regex
creating build/lib.linux-armv7l-2.7/regex/test
copying regex_2/regex/test/__init__.py -> build/lib.linux-armv7l-2.7/regex/test
copying regex_2/regex/test/test_regex.py -> build/lib.linux-armv7l-2.7/regex/test
running build_ext
building 'regex._regex' extension
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/regex_2
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c regex_2/_regex.c -o build/temp.linux-armv7l-2.7/regex_2/_regex.o
unable to execute 'arm-linux-gnueabihf-gcc': No such file or directory
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-l41OkQ/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-l41OkQ/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ae4xVO/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
Malgré l'erreur, je décide de continuer la procédure :
Finalement, en fouillant un peu les commandes utilisées dans le code et les indications/exemples des modules j'ai installé python-mpd2 0.5.5:
root@rocambole:/home/pi# pip install python-mpd2
OK
Je m'arrête là pour ce qui m'est arrivé, mais j'ai testé d'autres fichiers et tuto en rapport avec ce message sur le forum dans les pages qui suivaient. Mais si déjà on pouvait m'aider sur ce message d'erreur. Je vous en remercie d'avance.
cela fait des semaines que j'essaie de faire fonctionner mon petit raspberry pi 2 B avec l'écran LCD qui va bien (1602A) avec les scripts que je trouve sur ce forum mais ça ne fonctionne jamais, j'ai toujours des erreurs lors du lancement des commandes.
Je voudrais donc savoir si quelqu'un pouvait mettre un tuto à jour pour l'installation complète ?
Je précise que je ne connais rien à tout ce qui touche à linux, ce qui fait que dès qu'une commande ne fonctionne pas il m'est impossible de m'en sortir.
Je vous explique mes soucis lors des éxécutions des scripts.
Pour commencer, à la différence de certains, je ne suis jamais connecté avec le compte "root" mais avec le compte "pi" car je n'ai pas trouvé comment l'activer. J'ai donc dû rajouter la commande "sudo" devant chaque commande à lancer.
Dans le début du tutoriel, "Nicko" précise que la version ne fonctionne plus avec les kernels actuels. Mais comment déterminer ce qu'est un kernel récent d'un autre ?
Je suis donc parti du principe que j'avais un ancien kernel car quand je me connecte avec Puty, voici ce qui s'affiche une fois logué :
Linux volumio 3.18.5-v7+ #748 SMP PREEMPT Wed Feb 4 21:33:52 GMT 2015 armv7l
Voici donc ce qu'il se passe quand je lance les commandes :
wget -O /home/pi/python-rpi.gpio_0.5.11-1_armhf.deb https://archive.raspberrypi.org/debian/ ... _armhf.deb
Installer :
cd /home/pi/
dpkg -i python-rpi.gpio_0.5.11-1_armhf.deb
Ces commandes ont fonctionnés
Création du script python dans le dossier /home/pi :
J'ai copié par ftp le fichier puis j'ai lancé le la commande :
sudo python /home/pi/16x2_oled_volumio.py
le script a l'air de fonctionner car il ne se coupe quand faisant la combinaison de touches "ctrl +c"
Pour que volumio fonctionne je suis allé le configuré comme suit :
Menu / system / I2S driver : Hifiberry
Menu / turnoff : reboot
Puis j'ai continué le tuto :
Mais pour qu'il se lance au démarrage, on va ajouter un raccourci dans le fichier rc.local :
sudo nano /etc/rc.local
L'éditeur de texte s'ouvre, allez avec les flèches du claver (lâchez votre souris

Ajoutez avant la dernière ligne "exit 0" ce texte :
python /home/pi/16x2_oled_volumio.py &
Sortez et enregistrez en tapant : "CTRL + X" puis "Y" puis "entrée"
Désormais le script démarrera automatiquement avec Volumio.
Tout a fonctionné correctement pour cette partie.
Sauf que si je lance une musique depuis l'interface de volumio en passant pour son adresse IP, l'écran LCD n'affiche pas le titre de la musique, il est allumé (dès que je branche le raspberry il est allumé) mais n'affiche aucun caractère.
Je me suis donc dit que j'allais suivre le tuto de "Cram28".
C'est à partir de là que les problèmes commencent.
Pour me simplifier la vie, j'ai installé PyPI - the Python Package Index (guide https://python-packaging-user-guide.rea ... en/latest/)
Il suffit:
- de récupérer le fichier là: https://bootstrap.pypa.io/get-pip.py
- de le déposer sur le RaspDac dans "/home/pi/" avec un outil ftp genre filezilla.
- de l'exécuter:
root@rocambole:/home/pi# python get-pip.py
Commande OK
- A partir de là, on peut récupérer les modules manquant avec la commande "pip install <module>"
Pour "moment", c'est Ok:
root@rocambole:/home/pi# pip install moment
Il fait le téléchargement puis voici le message d'erreur (très long) qui apparait :
Building wheels for collected packages: moment, regex
Building wheel for moment (setup.py) ... done
Created wheel for moment: filename=moment-0.8.2-cp27-none-any.whl size=6098 sha256=16fd6ea82a0fb70ca1301a7a435e7a9b2d47d982051820bb478396544f4ce5cf
Stored in directory: /root/.cache/pip/wheels/a3/34/33/a815da729a0a46eb92201ef672b921e5d5a31fa7370fa3d5ba
Building wheel for regex (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-l41OkQ/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-l41OkQ/regex/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/pip-wheel-A2yCo6 --python-tag cp27
cwd: /tmp/pip-install-l41OkQ/regex/
Complete output (22 lines):
BASE_DIR is /tmp/pip-install-l41OkQ/regex
/usr/local/lib/python2.7/dist-packages/setuptools/dist.py:474: UserWarning: Normalizing '2019.06.08' to '2019.6.8'
normalized_version,
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/regex
copying regex_2/regex/__init__.py -> build/lib.linux-armv7l-2.7/regex
copying regex_2/regex/regex.py -> build/lib.linux-armv7l-2.7/regex
copying regex_2/regex/_regex_core.py -> build/lib.linux-armv7l-2.7/regex
creating build/lib.linux-armv7l-2.7/regex/test
copying regex_2/regex/test/__init__.py -> build/lib.linux-armv7l-2.7/regex/test
copying regex_2/regex/test/test_regex.py -> build/lib.linux-armv7l-2.7/regex/test
running build_ext
building 'regex._regex' extension
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/regex_2
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c regex_2/_regex.c -o build/temp.linux-armv7l-2.7/regex_2/_regex.o
unable to execute 'arm-linux-gnueabihf-gcc': No such file or directory
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for regex
Running setup.py clean for regex
Successfully built moment
Failed to build regex
Installing collected packages: six, python-dateutil, pytz, tzlocal, regex, dateparser, backports.functools-lru-cache, arrow, times, moment
Running setup.py install for regex ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-l41OkQ/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-l41OkQ/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ae4xVO/install-record.txt --single-version-externally-managed --compile
cwd: /tmp/pip-install-l41OkQ/regex/
Complete output (22 lines):
BASE_DIR is /tmp/pip-install-l41OkQ/regex
/usr/local/lib/python2.7/dist-packages/setuptools/dist.py:474: UserWarning: Normalizing '2019.06.08' to '2019.6.8'
normalized_version,
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/regex
copying regex_2/regex/__init__.py -> build/lib.linux-armv7l-2.7/regex
copying regex_2/regex/regex.py -> build/lib.linux-armv7l-2.7/regex
copying regex_2/regex/_regex_core.py -> build/lib.linux-armv7l-2.7/regex
creating build/lib.linux-armv7l-2.7/regex/test
copying regex_2/regex/test/__init__.py -> build/lib.linux-armv7l-2.7/regex/test
copying regex_2/regex/test/test_regex.py -> build/lib.linux-armv7l-2.7/regex/test
running build_ext
building 'regex._regex' extension
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/regex_2
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c regex_2/_regex.c -o build/temp.linux-armv7l-2.7/regex_2/_regex.o
unable to execute 'arm-linux-gnueabihf-gcc': No such file or directory
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-l41OkQ/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-l41OkQ/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ae4xVO/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
Malgré l'erreur, je décide de continuer la procédure :
Finalement, en fouillant un peu les commandes utilisées dans le code et les indications/exemples des modules j'ai installé python-mpd2 0.5.5:
root@rocambole:/home/pi# pip install python-mpd2
OK
Je m'arrête là pour ce qui m'est arrivé, mais j'ai testé d'autres fichiers et tuto en rapport avec ce message sur le forum dans les pages qui suivaient. Mais si déjà on pouvait m'aider sur ce message d'erreur. Je vous en remercie d'avance.