Bonjour.
Merci pour le correctif!
Cependant, depuis la dernière mise à jour, et même après la correctif, il existe toujours une erreur me concernant, et les dépendances ne peuvent pas être installées.
La version installé de Jeedom est v4.2.18 et de jMQTT v2022-06-15 20:59:26.
Log Debug jMQTT_dep :
======================================================================
== 16/06/2022 23:45:03 == Dependencies installation for jMQTT
======================================================================
== Should install Mosquitto: 1
[ 5% ] : Synchronize the package index...
[ 9% ] : Synchronize the package index : [ OK ]
[ 10% ] : Install Mosquitto...
[ 19% ] : Install Mosquitto : [ OK ]
[ 20% ] : Install Composer...
[ 24% ] : Install Composer : [ OK ]
[ 25% ] : Install Ratchet PHP library...
[ 29% ] : Install Ratchet PHP library : [ OK ]
[ 30% ] : Temporary fix of Ratchet PHP library (https://github.com/ratchetphp/RFC6455/pull/65)...
[ 34% ] : Temporary fix of Ratchet PHP library (https://github.com/ratchetphp/RFC6455/pull/65) : [ OK ]
[ 35% ] : Install JsonPath-PHP library...
[ 39% ] : Install JsonPath-PHP library : [ OK ]
[ 40% ] : Remove Composer...
[ 49% ] : Remove Composer : [ OK ]
[ 50% ] : Install python3 venv and pip debian packages...
[ 59% ] : Install python3 venv and pip debian packages : ERROR
[ 60% ] : Create a python3 Virtual Environment...
[ 69% ] : Create a python3 Virtual Environment : ERROR
[ 70% ] : Install required python3 libraries in venv...
[ 89% ] : Install required python3 libraries in venv : ERROR
[ 90% ] : Run post_dependancy_install function...
[ 99% ] : Run post_dependancy_install function : [ OK ]
[100% ] : Finished !
======================================================================
== KO == Installation Error
======================================================================
== ANALYSING ERRORS...
== NO KNOWN ERROR DETECTED
== Error in step : Install python3 venv and pip debian packages
== Line 59
== Command `sudo DEBIAN_FRONTEND=noninteractive apt-get install -y python3-venv python3-pip' have an issue
== Return code is 100
== Error message :
Reading package lists...
Building dependency tree...
Reading state information...
Package python3-venv is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python3-venv' has no installation candidate
======================================================================
== Error in step : Create a python3 Virtual Environment
== Line 62
== Command `sudo -u www-data python3 -m venv /var/www/html/plugins/jMQTT/resources/jmqttd/venv' have an issue
== Return code is 1
== Error message :
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt-get install python3-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: ['/var/www/html/plugins/jMQTT/resources/jmqttd/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
======================================================================
== Error in step : Install required python3 libraries in venv
== Line 65
== Command `sudo -u www-data /var/www/html/plugins/jMQTT/resources/jmqttd/venv/bin/pip3 install --no-cache-dir -r /var/www/html/plugins/jMQTT/resources/python-requirements/requirements.txt' have an issue
== Return code is 1
== Error message :
sudo: /var/www/html/plugins/jMQTT/resources/jmqttd/venv/bin/pip3: command not found
======================================================================
J’ai bien essayé de réaliser la commande indiquée, en sudo
sudo apt-get install python3-venv
Mais j’obtient ce message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python3-venv is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python3-venv' has no installation candidate
Voici ci-dessous des informations qui vous seront utiles:
J’utilise la Python 3.7.3
Suivant les indications présentées ici, la commande suivante:
sudo apt-get update
sudo apt-get install python3.7-venv
me donne un résultat identique:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python3.7-venv is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python3.7-venv' has no installation candidate
alors que
sudo apt-get install python3-virtualenv
me donne
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-virtualenv is already the newest version (15.1.0+ds-2+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Quelqu’un a-t-il une idée ou suggestion?
Merci beaucoup de votre aide!