+ echo '*******************Begin of package installation******************' *******************Begin of package installation****************** + touch /tmp/jeedom_install_in_progress_MyTado + echo 1 + echo 2 + sudo killall apt apt-get unattended-upgr apt: no process found apt-get: no process found unattended-upgr: no process found + sudo rm /var/lib/apt/lists/lock + sudo rm /var/cache/apt/archives/lock + sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend + sudo sudo dpkg --configure -a --force-confdef + sudo apt update WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Hit:1 http://security.debian.org/debian-security bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease Reading package lists... Building dependency tree... Reading state information... 75 packages can be upgraded. Run 'apt list --upgradable' to see them. + echo 3 + sudo apt install -o Dpkg::Options::=--force-confdef -y python3 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3 is already the newest version (3.11.2-1+b1). 0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded. + echo 4 + sudo apt update WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Hit:1 http://security.debian.org/debian-security bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease Reading package lists... Building dependency tree... Reading state information... 75 packages can be upgraded. Run 'apt list --upgradable' to see them. + sudo apt-get install -y python3 python3-pip python3-dev python3-venv Reading package lists... Building dependency tree... Reading state information... python3 is already the newest version (3.11.2-1+b1). python3-pip is already the newest version (23.0.1+dfsg-1). python3-dev is already the newest version (3.11.2-1+b1). python3-venv is already the newest version (3.11.2-1+b1). 0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded. + echo 5 + sudo python3 -m venv --upgrade-deps /var/www/html/core/class/../../plugins/MyTado/resources/python_venv + echo 6 + sudo /var/www/html/core/class/../../plugins/MyTado/resources/python_venv/bin/python3 -m pip install --upgrade pip wheel Requirement already satisfied: pip in /var/www/html/plugins/MyTado/resources/python_venv/lib/python3.11/site-packages (24.3.1) Requirement already satisfied: wheel in /var/www/html/plugins/MyTado/resources/python_venv/lib/python3.11/site-packages (0.45.0) + echo 7 + sudo /var/www/html/core/class/../../plugins/MyTado/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade logging Collecting logging Using cached logging-0.4.9.6.tar.gz (96 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [24 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 14, in File "/var/www/html/plugins/MyTado/resources/python_venv/lib/python3.11/site-packages/setuptools/__init__.py", line 22, in import _distutils_hack.override # noqa: F401 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/plugins/MyTado/resources/python_venv/lib/python3.11/site-packages/_distutils_hack/override.py", line 1, in __import__('_distutils_hack').do_override() File "/var/www/html/plugins/MyTado/resources/python_venv/lib/python3.11/site-packages/_distutils_hack/__init__.py", line 89, in do_override ensure_local_distutils() File "/var/www/html/plugins/MyTado/resources/python_venv/lib/python3.11/site-packages/_distutils_hack/__init__.py", line 75, in ensure_local_distutils core = importlib.import_module('distutils.core') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/www/html/plugins/MyTado/resources/python_venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 13, in from .cmd import Command File "/var/www/html/plugins/MyTado/resources/python_venv/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 7, in import logging File "/tmp/pip-install-5enu6gb_/logging_84a674c0ae51449d9403c0958c19f72a/logging/__init__.py", line 618 raise NotImplementedError, 'emit must be implemented '\ ^ SyntaxError: invalid syntax [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. + echo 8 + sudo /var/www/html/core/class/../../plugins/MyTado/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade typing Collecting typing Using cached typing-3.7.4.3-py3-none-any.whl Installing collected packages: typing Attempting uninstall: typing Found existing installation: typing 3.7.4.3 Uninstalling typing-3.7.4.3: Successfully uninstalled typing-3.7.4.3 Successfully installed typing-3.7.4.3 + echo 9 + sudo /var/www/html/core/class/../../plugins/MyTado/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade requests Collecting requests Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB) Collecting charset-normalizer<4,>=2 (from requests) Using cached charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (34 kB) Collecting idna<4,>=2.5 (from requests) Using cached idna-3.10-py3-none-any.whl.metadata (10 kB) Collecting urllib3<3,>=1.21.1 (from requests) Using cached urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB) Collecting certifi>=2017.4.17 (from requests) Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB) Using cached requests-2.32.3-py3-none-any.whl (64 kB) Using cached certifi-2024.8.30-py3-none-any.whl (167 kB) Using cached charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB) Using cached idna-3.10-py3-none-any.whl (70 kB) Using cached urllib3-2.2.3-py3-none-any.whl (126 kB) Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests Attempting uninstall: urllib3 Found existing installation: urllib3 2.2.3 Uninstalling urllib3-2.2.3: Successfully uninstalled urllib3-2.2.3 Attempting uninstall: idna Found existing installation: idna 3.10 Uninstalling idna-3.10: Successfully uninstalled idna-3.10 Attempting uninstall: charset-normalizer Found existing installation: charset-normalizer 3.4.0 Uninstalling charset-normalizer-3.4.0: Successfully uninstalled charset-normalizer-3.4.0 Attempting uninstall: certifi Found existing installation: certifi 2024.8.30 Uninstalling certifi-2024.8.30: Successfully uninstalled certifi-2024.8.30 Attempting uninstall: requests Found existing installation: requests 2.32.3 Uninstalling requests-2.32.3: Successfully uninstalled requests-2.32.3 Successfully installed certifi-2024.8.30 charset-normalizer-3.4.0 idna-3.10 requests-2.32.3 urllib3-2.2.3 + echo 10 + php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end MyTado + echo 11 + rm /tmp/jeedom_install_in_progress_MyTado + echo '*******************End of package installation******************' *******************End of package installation******************