Bonjour à tous,
J’ai un petit souci d’installation des dépendances pour le plugin OpenZwave.
J’ai un Jeedom opérationnel sous Debian 10 ou le plugin fonctionne très bien.
J’essaye de monter une nouvelle machine (VM Debian sur NAS Synology) mais suis confronté à des soucis sur les dépendances.
Test d’installation fait sur Debian 10 et Debian 11, à partir d’une installation fraiche (première action après l’install de Jeedom).
voici les log de l’installation des dépendances (ici sur Debian 10)
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_openzwave
+ echo 1
+ echo 2
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Atteint :1 http://security.debian.org/debian-security buster/updates InRelease
Atteint :2 http://deb.debian.org/debian buster InRelease
Réception de :3 http://deb.debian.org/debian buster-updates InRelease [56,6 kB]
56,6 ko réceptionnés en 1s (40,4 ko/s)
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
Tous les paquets sont à jour.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pyudev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y libudev-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
+ echo 5
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python-lxml
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
+ echo 6
+ sudo apt install -o Dpkg::Options::=--force-confdef -y libjpeg-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
+ echo 7
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade pyudev
Collecting pyudev
Downloading https://files.pythonhosted.org/packages/f8/fa/ae6c1a1a75f19560bbd875a579b2ca9b32deeae6a4c4a1997f4ec69a013e/pyudev-0.23.2.tar.gz (87kB)
Collecting six (from pyudev)
Downloading https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Installing collected packages: six, pyudev
Found existing installation: six 1.12.0
Not uninstalling six at /usr/lib/python2.7/dist-packages, outside environment /usr
Can't uninstall 'six'. No files were found to uninstall.
Running setup.py install for pyudev: started
Running setup.py install for pyudev: finished with status 'done'
Successfully installed pyudev-0.23.2 six-1.16.0
+ echo 8
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade wheel
Collecting wheel
Downloading https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl
Installing collected packages: wheel
Found existing installation: wheel 0.32.3
Not uninstalling wheel at /usr/lib/python2.7/dist-packages, outside environment /usr
Can't uninstall 'wheel'. No files were found to uninstall.
Successfully installed wheel-0.37.1
+ echo 9
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade urwid
Collecting urwid
Downloading https://files.pythonhosted.org/packages/94/3f/e3010f4a11c08a5690540f7ebd0b0d251cc8a456895b7e49be201f73540c/urwid-2.1.2.tar.gz (634kB)
Installing collected packages: urwid
Running setup.py install for urwid: started
Running setup.py install for urwid: finished with status 'done'
Successfully installed urwid-2.1.2
+ echo 10
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade louie
Collecting louie
Downloading https://files.pythonhosted.org/packages/f2/f8/f9dfd97003f1c120dca1ed4dc9e3e16b74b583ce5bcb2d9b013142b6bee2/Louie-2.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-7ifpuM/louie/setup.py", line 3, in <module>
from louie import version
File "louie/__init__.py", line 1, in <module>
from . import dispatcher, error, plugin, robustapply, saferef, sender, signal, version
File "louie/dispatcher.py", line 44
f"Louie connects: {connects}
"
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-7ifpuM/louie/
+ echo 11
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade requests
Collecting requests
Downloading https://files.pythonhosted.org/packages/2d/61/08076519c80041bc0ffa1a8af0cbd3bf3e2b62af10435d269a9d0f40564d/requests-2.27.1-py2.py3-none-any.whl (63kB)
Collecting urllib3<1.27,>=1.21.1 (from requests)
Downloading https://files.pythonhosted.org/packages/6f/de/5be2e3eed8426f871b170663333a0f627fc2924cc386cd41be065e7ea870/urllib3-1.26.12-py2.py3-none-any.whl (140kB)
Collecting certifi>=2017.4.17 (from requests)
Downloading https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl (149kB)
Collecting idna<3,>=2.5; python_version < "3" (from requests)
Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB)
Collecting chardet<5,>=3.0.2; python_version < "3" (from requests)
Downloading https://files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl (178kB)
Installing collected packages: urllib3, certifi, idna, chardet, requests
Successfully installed certifi-2021.10.8 chardet-4.0.0 idna-2.10 requests-2.27.1 urllib3-1.26.12
+ echo 12
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade setuptools
Collecting setuptools
Downloading https://files.pythonhosted.org/packages/e1/b7/182161210a13158cd3ccc41ee19aadef54496b74f2817cc147006ec932b4/setuptools-44.1.1-py2.py3-none-any.whl (583kB)
Installing collected packages: setuptools
Found existing installation: setuptools 40.8.0
Not uninstalling setuptools at /usr/lib/python2.7/dist-packages, outside environment /usr
Can't uninstall 'setuptools'. No files were found to uninstall.
Successfully installed setuptools-44.1.1
+ echo 13
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade pyserial
Collecting pyserial
Downloading https://files.pythonhosted.org/packages/07/bc/587a445451b253b285629263eb51c2d8e9bcea4fc97826266d186f96f558/pyserial-3.5-py2.py3-none-any.whl (90kB)
Installing collected packages: pyserial
Successfully installed pyserial-3.5
+ echo 14
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade six
Collecting six
Downloading https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Installing collected packages: six
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Successfully installed six-1.16.0
+ echo 15
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade tornado
Collecting tornado
Downloading https://files.pythonhosted.org/packages/e6/78/6e7b5af12c12bdf38ca9bfe863fcaf53dc10430a312d0324e76c1e5ca426/tornado-5.1.1.tar.gz (516kB)
Collecting futures (from tornado)
Downloading https://files.pythonhosted.org/packages/d8/a6/f46ae3f1da0cd4361c344888f59ec2f5785e69c872e175a748ef6071cdb5/futures-3.3.0-py2-none-any.whl
Collecting singledispatch (from tornado)
Downloading https://files.pythonhosted.org/packages/3f/09/2a17c6505a8373229cb3de6161e3af74ff90afcf4516719aa6cf32fad151/singledispatch-3.7.0-py2.py3-none-any.whl
Collecting backports_abc>=0.4 (from tornado)
Downloading https://files.pythonhosted.org/packages/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7/backports_abc-0.5-py2.py3-none-any.whl
Collecting six (from singledispatch->tornado)
Downloading https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Installing collected packages: futures, six, singledispatch, backports-abc, tornado
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Running setup.py install for tornado: started
Running setup.py install for tornado: finished with status 'done'
Successfully installed backports-abc-0.5 futures-3.3.0 singledispatch-3.7.0 six-1.16.0 tornado-5.1.1
+ echo 16
+ sudo chmod +x /var/www/html/core/class/../../plugins/openzwave/resources/post_install.sh
+ sudo /var/www/html/core/class/../../plugins/openzwave/resources/post_install.sh
Lancement de l'installation/mise à jour des dépendances openzwave
mkdir: impossible de créer le répertoire « /opt »: Le fichier existe
Installation de Python-OpenZwave
Skipping Cython as it is not installed.
apt-get install --force-yes -y cython
W: --force-yes est obsolète, veuillez plutôt utiliser l'une des options commençant par --allow.
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
make: *** [Makefile:142: cython-deps] Error 100
Installing dependencies for python : 2 7 16
apt-get install --force-yes -y python-pip python-dev python-docutils python-setuptools python-louie
W: --force-yes est obsolète, veuillez plutôt utiliser l'une des options commençant par --allow.
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
make: *** [Makefile:150: common-deps] Error 100
sed -i -e '253s/.*//' openzwave/cpp/src/value_classes/ValueID.h
cd openzwave && make
make[1] : on entre dans le répertoire « /opt/python-openzwave/openzwave »
CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/build/ -w
make[2] : on entre dans le répertoire « /opt/python-openzwave/openzwave/cpp/build »
Building OpenZWave Version 1.4.-1
Building tinystr.o
Building tinyxmlerror.o
Building tinyxml.o
Building tinyxmlparser.o
Building hid.o
/opt/python-openzwave/openzwave/cpp/hidapi/linux/hid.c:46:10: fatal error: libudev.h: Aucun fichier ou dossier de ce type
#include <libudev.h>
^~~~~~~~~~~
compilation terminated.
make[2]: *** [/opt/python-openzwave/openzwave/cpp/build/support.mk:147: /opt/python-openzwave/openzwave/.lib/hid.o] Error 1
make[2] : on quitte le répertoire « /opt/python-openzwave/openzwave/cpp/build »
make[1]: *** [Makefile:20: all] Error 2
make[1] : on quitte le répertoire « /opt/python-openzwave/openzwave »
make: *** [Makefile:273: openzwave/.lib/] Error 2
Everything is successfully installed!
+ echo 17
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end openzwave
+ rm /tmp/jeedom_install_in_progress_openzwave
+ echo '*******************End of package installation******************'
*******************End of package installation******************
j’ai tenté la commande suivante pour m’assurer de l’installation de python2
pip2 install --upgrade --force pip
suite à cela l’installation des dépendances tombe toujours en erreur
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_openzwave
+ echo 1
+ echo 2
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Atteint :1 http://security.debian.org/debian-security buster/updates InRelease
Atteint :2 http://deb.debian.org/debian buster InRelease
Atteint :3 http://deb.debian.org/debian buster-updates InRelease
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
Tous les paquets sont à jour.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pyudev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y libudev-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
+ echo 5
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python-lxml
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
+ echo 6
+ sudo apt install -o Dpkg::Options::=--force-confdef -y libjpeg-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
+ echo 7
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade pyudev
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting pyudev
Downloading pyudev-0.23.2.tar.gz (87 kB)
Collecting six
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: pyudev
Building wheel for pyudev (setup.py): started
Building wheel for pyudev (setup.py): finished with status 'done'
Created wheel for pyudev: filename=pyudev-0.23.2-py2-none-any.whl size=63890 sha256=e52f3bea6ffb7f60f12b04651115ca07071daf21a4dff8681e3a78dea0838e2b
Stored in directory: /tmp/pip-ephem-wheel-cache-rMyCcV/wheels/2d/dd/20/a6a82b6f58a8a222b5985bf63f0ad963df4620ca0ca3e24fc2
Successfully built pyudev
Installing collected packages: six, pyudev
Attempting uninstall: six
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Attempting uninstall: pyudev
Found existing installation: pyudev 0.23.2
Uninstalling pyudev-0.23.2:
Successfully uninstalled pyudev-0.23.2
Successfully installed pyudev-0.23.2 six-1.16.0
+ echo 8
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade wheel
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting wheel
Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Attempting uninstall: wheel
Found existing installation: wheel 0.37.1
Uninstalling wheel-0.37.1:
Successfully uninstalled wheel-0.37.1
Successfully installed wheel-0.37.1
+ echo 9
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade urwid
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting urwid
Downloading urwid-2.1.2.tar.gz (634 kB)
Building wheels for collected packages: urwid
Building wheel for urwid (setup.py): started
Building wheel for urwid (setup.py): finished with status 'done'
Created wheel for urwid: filename=urwid-2.1.2-cp27-cp27mu-linux_x86_64.whl size=257736 sha256=8e30caedc6847db61e73e4c2c0dccaa61ed27a7fbac6e6e556df691d70311ea8
Stored in directory: /tmp/pip-ephem-wheel-cache-js7a0R/wheels/12/a0/56/eeb6e87ecb35b6cb78e9a7020d8803c7eaa137d737861e3572
Successfully built urwid
Installing collected packages: urwid
Attempting uninstall: urwid
Found existing installation: urwid 2.1.2
Uninstalling urwid-2.1.2:
Successfully uninstalled urwid-2.1.2
Successfully installed urwid-2.1.2
+ echo 10
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade louie
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting louie
Downloading Louie-2.0.tar.gz (13 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-36AfUT/louie/setup.py'"'"'; __file__='"'"'/tmp/pip-install-36AfUT/louie/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-4SyO8Q
cwd: /tmp/pip-install-36AfUT/louie/
Complete output (10 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-36AfUT/louie/setup.py", line 3, in <module>
from louie import version
File "louie/__init__.py", line 1, in <module>
from . import dispatcher, error, plugin, robustapply, saferef, sender, signal, version
File "louie/dispatcher.py", line 44
f"Louie connects: {connects}
"
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
+ echo 11
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade requests
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting requests
Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting chardet<5,>=3.0.2; python_version < "3"
Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting idna<3,>=2.5; python_version < "3"
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting certifi>=2017.4.17
Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Installing collected packages: chardet, idna, urllib3, certifi, requests
Attempting uninstall: chardet
Found existing installation: chardet 4.0.0
Uninstalling chardet-4.0.0:
Successfully uninstalled chardet-4.0.0
Attempting uninstall: idna
Found existing installation: idna 2.10
Uninstalling idna-2.10:
Successfully uninstalled idna-2.10
Attempting uninstall: urllib3
Found existing installation: urllib3 1.26.12
Uninstalling urllib3-1.26.12:
Successfully uninstalled urllib3-1.26.12
Attempting uninstall: certifi
Found existing installation: certifi 2021.10.8
Uninstalling certifi-2021.10.8:
Successfully uninstalled certifi-2021.10.8
Attempting uninstall: requests
Found existing installation: requests 2.27.1
Uninstalling requests-2.27.1:
Successfully uninstalled requests-2.27.1
Successfully installed certifi-2021.10.8 chardet-4.0.0 idna-2.10 requests-2.27.1 urllib3-1.26.12
+ echo 12
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade setuptools
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting setuptools
Downloading setuptools-44.1.1-py2.py3-none-any.whl (583 kB)
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 44.1.1
Uninstalling setuptools-44.1.1:
Successfully uninstalled setuptools-44.1.1
Successfully installed setuptools-44.1.1
+ echo 13
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade pyserial
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting pyserial
Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
Installing collected packages: pyserial
Attempting uninstall: pyserial
Found existing installation: pyserial 3.5
Uninstalling pyserial-3.5:
Successfully uninstalled pyserial-3.5
Successfully installed pyserial-3.5
+ echo 14
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade six
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting six
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six
Attempting uninstall: six
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Successfully installed six-1.16.0
+ echo 15
+ sudo pip2 install --no-cache-dir --force-reinstall --upgrade tornado
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting tornado
Downloading tornado-5.1.1.tar.gz (516 kB)
Collecting futures
Downloading futures-3.3.0-py2-none-any.whl (16 kB)
Collecting singledispatch
Downloading singledispatch-3.7.0-py2.py3-none-any.whl (9.2 kB)
Collecting backports_abc>=0.4
Downloading backports_abc-0.5-py2.py3-none-any.whl (5.2 kB)
Collecting six
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: tornado
Building wheel for tornado (setup.py): started
Building wheel for tornado (setup.py): finished with status 'done'
Created wheel for tornado: filename=tornado-5.1.1-cp27-cp27mu-linux_x86_64.whl size=461499 sha256=90e94f3f0a527663252c282165c67d9fffc5ef8a89146b4b000cfe5500da6248
Stored in directory: /tmp/pip-ephem-wheel-cache-Xw33u8/wheels/d8/83/af/e0dc6afbf3a2c51af8d6e3f9fbe790d0c581c2de05bc5d50f5
Successfully built tornado
Installing collected packages: futures, six, singledispatch, backports-abc, tornado
Attempting uninstall: futures
Found existing installation: futures 3.3.0
Uninstalling futures-3.3.0:
Successfully uninstalled futures-3.3.0
Attempting uninstall: six
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Attempting uninstall: singledispatch
Found existing installation: singledispatch 3.7.0
Uninstalling singledispatch-3.7.0:
Successfully uninstalled singledispatch-3.7.0
Attempting uninstall: backports-abc
Found existing installation: backports-abc 0.5
Uninstalling backports-abc-0.5:
Successfully uninstalled backports-abc-0.5
Attempting uninstall: tornado
Found existing installation: tornado 5.1.1
Uninstalling tornado-5.1.1:
Successfully uninstalled tornado-5.1.1
Successfully installed backports-abc-0.5 futures-3.3.0 singledispatch-3.7.0 six-1.16.0 tornado-5.1.1
+ echo 16
+ sudo chmod +x /var/www/html/core/class/../../plugins/openzwave/resources/post_install.sh
+ sudo /var/www/html/core/class/../../plugins/openzwave/resources/post_install.sh
Lancement de l'installation/mise à jour des dépendances openzwave
mkdir: impossible de créer le répertoire « /opt »: Le fichier existe
Désinstallation de la version précédente
Installation de Python-OpenZwave
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
WARNING: Skipping Cython as it is not installed.
apt-get install --force-yes -y cython
W: --force-yes est obsolète, veuillez plutôt utiliser l'une des options commençant par --allow.
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
make: *** [Makefile:142: cython-deps] Error 100
Installing dependencies for python : 2 7 16
apt-get install --force-yes -y python-pip python-dev python-docutils python-setuptools python-louie
W: --force-yes est obsolète, veuillez plutôt utiliser l'une des options commençant par --allow.
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
make: *** [Makefile:150: common-deps] Error 100
sed -i -e '253s/.*//' openzwave/cpp/src/value_classes/ValueID.h
cd openzwave && make
make[1] : on entre dans le répertoire « /opt/python-openzwave/openzwave »
CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/build/ -w
make[2] : on entre dans le répertoire « /opt/python-openzwave/openzwave/cpp/build »
Building OpenZWave Version 1.4.-1
Building tinystr.o
Building tinyxmlerror.o
Building tinyxml.o
Building tinyxmlparser.o
Building hid.o
/opt/python-openzwave/openzwave/cpp/hidapi/linux/hid.c:46:10: fatal error: libudev.h: Aucun fichier ou dossier de ce type
#include <libudev.h>
^~~~~~~~~~~
compilation terminated.
make[2]: *** [/opt/python-openzwave/openzwave/cpp/build/support.mk:147: /opt/python-openzwave/openzwave/.lib/hid.o] Error 1
make[2] : on quitte le répertoire « /opt/python-openzwave/openzwave/cpp/build »
make[1]: *** [Makefile:20: all] Error 2
make[1] : on quitte le répertoire « /opt/python-openzwave/openzwave »
make: *** [Makefile:273: openzwave/.lib/] Error 2
Everything is successfully installed!
+ echo 17
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end openzwave
+ rm /tmp/jeedom_install_in_progress_openzwave
+ echo '*******************End of package installation******************'
*******************End of package installation******************
j’ai tenté également d’installer « Louie » en manuel pour voir si c’est ce package qui posait souci mais cela ne change rien car l e script d’installation semble utiliser pip2 et génère donc les erreurs de script sur l’installe de Louie
pip install Louie ==> ne fonctionne plus car la v2 n'est plus compatible python2
pip3 install Louie ==> install ok
auriez vous une idées ?
Merci par avance pour votre aide
Version OS debian 10.13
Version Jeedom 4.2.21
Apache Apache/2.4.38 (Debian)
Version PHP 7.3.31-1~deb10u1
Version DB 10.3.36-MariaDB-0+deb10u2
Version OS Linux jeedom 4.19.0-22-amd64 #1 SMP Debian 4.19.260-1 (2022-09-29) x86_64 GNU/Linux [10.13]