ok , c’est pip3 effectivement
Je repasse en version beta donc sans mise à jour pip3
Mais là je suis bloqué maintenant car le plugin n’est pas activable
Ok je viens de le faire …
Je l’ai activé et j’ai fait une relance des dépendances
Voici le résultat du log
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_pyenv
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/pyenv/resources/post-install.sh
+ sudo /var/www/html/core/class/../../plugins/pyenv/resources/post-install.sh
********************************************************
* Installation de pyenv *
********************************************************
Wed Mar 20 19:46:28 CET 2024
********************************************************
** Installation de pyenv dans /var/www/html/plugins/pyenv/resources/pyenv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 270 100 270 0 0 552 0 --:--:-- --:--:-- --:--:-- 552
Cloning into '/var/www/html/plugins/pyenv/resources/pyenv'...
Cloning into '/var/www/html/plugins/pyenv/resources/pyenv/plugins/pyenv-doctor'...
Cloning into '/var/www/html/plugins/pyenv/resources/pyenv/plugins/pyenv-update'...
Cloning into '/var/www/html/plugins/pyenv/resources/pyenv/plugins/pyenv-virtualenv'...
WARNING: seems you still have not added 'pyenv' to the load path.
# Load pyenv automatically by appending
# the following to
# ~/.bash_profile if it exists, otherwise ~/.profile (for login shells)
# and ~/.bashrc (for interactive shells) :
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
# Restart your shell for the changes to take effect.
# Load pyenv-virtualenv automatically by adding
# the following to ~/.bashrc:
eval "$(pyenv virtualenv-init -)"
********************************************************
* Installation terminée *
********************************************************
Wed Mar 20 19:46:33 CET 2024
+ echo 3
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end pyenv
+ echo 4
+ rm /tmp/jeedom_install_in_progress_pyenv
+ echo '*******************End of package installation******************'
*******************End of package installation******************
J’ai un warning
seems you still have not added 'pyenv' to the load path.
J’ai activé Mymodbus Beta (procedure en cours, )
je laisse faire pour l’instant je ferai un retour lorsque j’aurai la main sur le plugin
De mon coté c’est pyenv4jeedom qui déconne. La commande pyenv install 3.11.8 fait carrément rebooter le raspi !
Y a-t-il une alternative a pyenv ? install de python 3.11 a la mano ou ça risque de faire péter les autres plugins ?
Corriger un problème ne revient pas forcément à le contourner… et vise versa
Mais là, il me faudrait plus d’info sur ce qu’il se passe sur votre machine Jeedom. Des log, des infos sur ce qui a été fait, les messages d’erreurs, …
Merci pour vos réponses
Je recommence propre : désinstallation de modbus et de pyenv, puis:
install de pyenv4jeedom depuis le market (version beta, 2024-03-20 01:20:57)
pyenv_packages est content, pas de message d’erreur
Après activation du plugin pyenv4jeedom, dans Jeedom->Santé j’ai un message d’erreur: Call to a member function getConfiguration() on bool
retour à la page de config du plugin, je lance l’install des dépendences, voici le log que j’obtiens:
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_pyenv
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/pyenv/resources/post-install.sh
+ sudo /var/www/html/core/class/../../plugins/pyenv/resources/post-install.sh
********************************************************
* Installation de pyenv *
********************************************************
Mon Mar 25 10:48:17 CET 2024
********************************************************
** Installation de pyenv dans /var/www/html/plugins/pyenv/resources/pyenv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 270 100 270 0 0 417 0 --:--:-- --:--:-- --:--:-- 417
Cloning into '/var/www/html/plugins/pyenv/resources/pyenv'...
Cloning into '/var/www/html/plugins/pyenv/resources/pyenv/plugins/pyenv-doctor'...
Cloning into '/var/www/html/plugins/pyenv/resources/pyenv/plugins/pyenv-update'...
Cloning into '/var/www/html/plugins/pyenv/resources/pyenv/plugins/pyenv-virtualenv'...
WARNING: seems you still have not added 'pyenv' to the load path.
# Load pyenv automatically by appending
# the following to
# ~/.bash_profile if it exists, otherwise ~/.profile (for login shells)
# and ~/.bashrc (for interactive shells) :
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
# Restart your shell for the changes to take effect.
# Load pyenv-virtualenv automatically by adding
# the following to ~/.bashrc:
eval "$(pyenv virtualenv-init -)"
********************************************************
* Installation terminée *
********************************************************
Mon Mar 25 10:48:31 CET 2024
+ echo 3
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end pyenv
+ echo 4
+ rm /tmp/jeedom_install_in_progress_pyenv
+ echo '*******************End of package installation******************'
*******************End of package installation******************
jeedom santé me donne toujours le même message d’erreur