J’ai un soucis à l’instal des dépendances du plugin Enocean. Voici le log :
********************************************************
* Installation des dépendances *
********************************************************
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 http://deb.debian.org/debian buster-backports InRelease
Hit:5 https://armbian.systemonachip.net/apt buster InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package 'python-enum' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python-serial is already the newest version (3.4-4).
python-pyudev is already the newest version (0.21.0-1).
python-requests is already the newest version (2.21.0-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Collecting enum-compat
Using cached https://files.pythonhosted.org/packages/41/46/8ed2368976d934652d8f33f1fdd86f5580fab45e890c90a848e83097a093/enum-compat-0.0.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named setuptools
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-AFSRRN/enum-compat/
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'python-bs4' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python2.7/dist-packages (4.9.3)
Requirement already satisfied: soupsieve<2.0,>1.2; python_version < "3.0" in /usr/local/lib/python2.7/dist-packages (from beautifulsoup4) (1.9.6)
Requirement already satisfied: backports.functools-lru-cache; python_version < "3" in /usr/local/lib/python2.7/dist-packages (from soupsieve<2.0,>1.2; python_version < "3.0"->beautifulsoup4) (1.6.4)
********************************************************
* Installation terminée *
********************************************************
J’ai essayé d’installer Python 3 mais j’ai le message suivant :
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
Quelqu’un saurait-il m’aider à dépanner ce problème?
Je viens d’exécuter la commande que tu m’indiques :
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
python-setuptools-doc
The following NEW packages will be installed:
python-setuptools
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 382 kB of archives.
After this operation, 1442 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main arm64 python-setuptools all 40.8.0-1 [382 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 382 kB in 0s (4001 kB/s)
Selecting previously unselected package python-setuptools.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 54811 files and directories currently installed.)
Preparing to unpack .../python-setuptools_40.8.0-1_all.deb ...
Unpacking python-setuptools (40.8.0-1) ...
Setting up python-setuptools (40.8.0-1) ...
L’écran reste arrêté sur cette dernière ligne. Que dois-je faire ensuite?
Bon, je suis toujours en échec mais un échec différent :
********************************************************
* Installation des dépendances *
********************************************************
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 http://deb.debian.org/debian buster-backports InRelease
Hit:5 https://mirrors.netix.net/armbian/apt buster InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package 'python-enum' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python-serial is already the newest version (3.4-4).
python-pyudev is already the newest version (0.21.0-1).
python-requests is already the newest version (2.21.0-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
/var/www/html/plugins/openenocean/core/class/../../resources/install_apt.sh: line 16: pip: command not found
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'python-bs4' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
/var/www/html/plugins/openenocean/core/class/../../resources/install_apt.sh: line 19: pip: command not found
********************************************************
* Installation terminée *
********************************************************
PS : je fais les commandes via l’invite de commande de jeedom (menu config, administration système) et non en SSH, c’est grave?