Skip to content

pbillerot/alexa_pi_ynh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alexa_pi_ynh

Package YunoHost - Alexa Python pour RaspberryPI

Commande d'installation :

sudo yunohost app install https://github.com/pbillerot/alexa_pi_ynh

RaspberryPI Rev 2 Model B

Résultat de la commande inxi -F

System:    Host: mydomain.eu Kernel: 4.19.69+ armv6l (32 bit) Console: tty 0
           Distro: Raspbian GNU/Linux 9 (stretch)
Machine:   No /sys/class/dmi; using dmidecode: you must be root to run dmidecode
CPU:       Single core ARMv6-compatible rev 7 (v6l) (-UP-) (ARM) speed: 700 MHz
Graphics:  Card: Failed to Detect Video Card!
           Display Server: N/A driver: N/A tty size: 120x48 Advanced Data: N/A out of X
Audio:     Card bcm2835 ALSA driver: bcm2835_alsa Sound: ALSA v: k4.19.69+
Network:   Card: Standard Microsystems SMSC9512/9514 Fast Ethernet Adapter
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: NA (-)
           ID-1: /dev/mmcblk0 model: N/A size: 31.9GB
Partition: ID-1: / size: 30G used: 3.0G (11%) fs: ext4 dev: /dev/root
           ID-2: /boot size: 44M used: 23M (52%) fs: vfat dev: /dev/mmcblk0p1
Sensors:   System Temperatures: cpu: No active sensors found. Have you configured your sensors yet? mobo: N/A
Info:      Processes: 93 Uptime: 12:31 Memory: 163.6/432.7MB Init: systemd runlevel: 5
           Client: Shell (bash) inxi: 2.3.5 
Yunohost : 3.6.4.6

Les librairies python de l'assistant Alexa ont pour prérequis la version Python 3.6

  • raspian-stretch héberge la version python 3.5
  • --> il faut installer la version 3.6 sur PI
# Prévoir plusieurs heures pour la compilation
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev
sudo apt-get install -y libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm
sudo apt-get install -y libncurses5-dev  libncursesw5-dev xz-utils tk-dev

wget https://www.python.org/ftp/python/3.6.9/Python-3.6.9.tgz
tar xvf Python-3.6.9.tgz
cd Python-3.6.9
./configure --enable-optimizations
sudo make altinstall

About

Package YunoHost - Alexa Python pour RaspberryPI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published