Bonjour,
J’ai un gros problème avec le plugin Modbus : Les dépendances restent en état NOK.
Version Linux debian 12 Bookworm probablement mal supportée.
Tous les autres plugins et fonctions installées jusqu’ici OK. RFXcom par ex.
Si quelqu’un a une idée, merci.
Voici mes logs:
0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_modbus
0003|+ echo 1
0004|+ echo 2
0005|+ sudo apt update
0006|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0007|Hit:1 http://deb.debian.org/debian bookworm InRelease
0008|Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
0009|Hit:3 http://deb.debian.org/debian bookworm-backports InRelease
0010|Hit:4 http://security.debian.org bookworm-security InRelease
0011|Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
0012|Hit:6 http://hetzner-mirror.armbian.com/beta bookworm InRelease
0013|Reading package lists...
0014|Building dependency tree...
0015|Reading state information...
0016|7 packages can be upgraded. Run 'apt list --upgradable' to see them.
0017|+ sudo apt install -y pipx
0018|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0019|Reading package lists...
0020|Building dependency tree...
0021|Reading state information...
0022|pipx is already the newest version (1.1.0-1).
0023|0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
0024|+ echo 3
0025|+ sudo pipx install --force-reinstall --upgrade pyudev
0026|usage: pipx [-h] [--version]
0027|{install,inject,upgrade,upgrade-all,uninstall,uninstall-all,reinstall,reinstall-all,list,run,runpip,ensurepath,environment,completions}
0028|...
0029|pipx: error: unrecognized arguments: --force-reinstall --upgrade
0030|+ echo 4
0031|+ sudo pipx install --force-reinstall --upgrade requests
0032|usage: pipx [-h] [--version]
0033|{install,inject,upgrade,upgrade-all,uninstall,uninstall-all,reinstall,reinstall-all,list,run,runpip,ensurepath,environment,completions}
0034|...
0035|pipx: error: unrecognized arguments: --force-reinstall --upgrade
0036|+ echo 5
0037|+ sudo pipx install --force-reinstall --upgrade setuptools
0038|usage: pipx [-h] [--version]
0039|{install,inject,upgrade,upgrade-all,uninstall,uninstall-all,reinstall,reinstall-all,list,run,runpip,ensurepath,environment,completions}
0040|...
0041|pipx: error: unrecognized arguments: --force-reinstall --upgrade
0042|+ echo 6
0043|+ sudo pipx install --force-reinstall --upgrade wheel
0044|usage: pipx [-h] [--version]
0045|{install,inject,upgrade,upgrade-all,uninstall,uninstall-all,reinstall,reinstall-all,list,run,runpip,ensurepath,environment,completions}
0046|...
0047|pipx: error: unrecognized arguments: --force-reinstall --upgrade
0048|+ echo 7
0049|+ sudo pipx install --force-reinstall --upgrade pyserial
0050|usage: pipx [-h] [--version]
0051|{install,inject,upgrade,upgrade-all,uninstall,uninstall-all,reinstall,reinstall-all,list,run,runpip,ensurepath,environment,completions}
0052|...
0053|pipx: error: unrecognized arguments: --force-reinstall --upgrade
0054|+ echo 8
0055|+ sudo pipx install --force-reinstall --upgrade bitstring
0056|usage: pipx [-h] [--version]
0057|{install,inject,upgrade,upgrade-all,uninstall,uninstall-all,reinstall,reinstall-all,list,run,runpip,ensurepath,environment,completions}
0058|...
0059|pipx: error: unrecognized arguments: --force-reinstall --upgrade
0060|+ echo 9
0061|+ sudo chmod +x /var/www/html/core/class/../../plugins/modbus/resources/post_install.sh
0062|+ sudo /var/www/html/core/class/../../plugins/modbus/resources/post_install.sh
0063|********************************************************
0064|* Installation des dépendances *
0065|********************************************************
0066|Sat May 18 04:20:24 PM CEST 2024
0067|5
0068|10
0069|Hit:1 http://deb.debian.org/debian bookworm InRelease
0070|Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
0071|Hit:3 http://deb.debian.org/debian bookworm-backports InRelease
0072|Hit:4 http://security.debian.org bookworm-security InRelease
0073|Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
0074|Hit:6 http://hetzner-mirror.armbian.com/beta bookworm InRelease
0075|Reading package lists...
0076|20
0077|*****************************
0078|Install modules using apt-get
0079|*****************************
0080|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0081|Reading package lists...
0082|Building dependency tree...
0083|Reading state information...
0084|python3-pip is already the newest version (23.0.1+dfsg-1).
0085|python3-dev is already the newest version (3.11.2-1+b1).
0086|0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
0087|40
0088|error: externally-managed-environment
0089|× This environment is externally managed
0090|╰─> To install Python packages system-wide, try apt install
0091|python3-xyz, where xyz is the package you are trying to
0092|install.
0093|If you wish to install a non-Debian-packaged Python package,
0094|create a virtual environment using python3 -m venv path/to/venv.
0095|Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
0096|sure you have python3-full installed.
0097|If you wish to install a non-Debian packaged Python application,
0098|it may be easiest to use pipx install xyz, which will manage a
0099|virtual environment for you. Make sure you have pipx installed.
0100|See /usr/share/doc/python3.11/README.venv for more information.
0101|note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
0102|hint: See PEP 668 for the detailed specification.
0103|100
0104|********************************************************
0105|* Installation terminée *
0106|********************************************************
0107|+ echo 10
0108|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end modbus
0109|+ echo 11
0110|+ rm /tmp/jeedom_install_in_progress_modbus
0111|+ echo '*******************End of package installation******************'
0112|*******************End of package installation******************`Texte préformaté`
Et les infos Jeedom:
Informations Jeedom
Core : 4.4.5 (V4-stable)
DNS Jeedom : non
Plugin : Modbus
Version : 2024-04-15 09:25:54 (stable)
Statut Démon : Stoppé - (Inconnue)
