Version Pyenv?

Bonjour TiTidom,

J’ai pu me procurer un PI 5 où j’ai installer un jeedom de test sur debian 12 et la version beta 4.4.2. Je m’amuse à faire quelques tests sur quelques pluging le votre fonctionne très bien mais comme j’ai pu le voir sur le post de @Doud, j’ai également la version Pyenv qui est inconnue.

J’ai donc appliqué ce qu’avait fait Doud mais au moment de chercher le dossier pyenv, celui-ci n’est pas présent…
Capture d’écran 2024-03-09 à 08.51.48

les log des dépendances :

[2024-03-09 11:57:00] ******************
[2024-03-09 11:57:00] * Update apt-get *
[2024-03-09 11:57:00] ******************
[2024-03-09 11:57:00] Hit:1 http://deb.debian.org/debian bookworm InRelease
[2024-03-09 11:57:00] Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
[2024-03-09 11:57:00] Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
[2024-03-09 11:57:00] Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
[2024-03-09 11:57:00] Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease
[2024-03-09 11:57:02] Reading package lists...
[2024-03-09 11:57:02] ****************************
[2024-03-09 11:57:02] * Simulate apt-get upgrade *
[2024-03-09 11:57:02] ****************************
[2024-03-09 11:57:02] Reading package lists...
[2024-03-09 11:57:02] Building dependency tree...
[2024-03-09 11:57:02] Reading state information...
[2024-03-09 11:57:03] Calculating upgrade...
[2024-03-09 11:57:03] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[2024-03-09 11:57:03] ** Upgrade Simulation : Done **
[2024-03-09 11:57:03] ***************************************
[2024-03-09 11:57:03] * Install apt-get packages for Python3 *
[2024-03-09 11:57:03] ***************************************
[2024-03-09 11:57:03] Reading package lists...
[2024-03-09 11:57:04] Building dependency tree...
[2024-03-09 11:57:04] Reading state information...
[2024-03-09 11:57:04] python3 is already the newest version (3.11.2-1+b1).
[2024-03-09 11:57:04] python3-requests is already the newest version (2.28.1+dfsg-1).
[2024-03-09 11:57:04] python3-requests set to manually installed.
[2024-03-09 11:57:04] python3-pip is already the newest version (23.0.1+dfsg-1+rpt1).
[2024-03-09 11:57:04] python3-setuptools is already the newest version (66.1.1-1).
[2024-03-09 11:57:04] python3-setuptools set to manually installed.
[2024-03-09 11:57:04] python3-dev is already the newest version (3.11.2-1+b1).
[2024-03-09 11:57:04] python3-venv is already the newest version (3.11.2-1+b1).
[2024-03-09 11:57:04] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[2024-03-09 11:57:04] ** Install packages for Python3 : Done **
[2024-03-09 11:57:04] ***************************
[2024-03-09 11:57:04] * Check Python3.x Version *
[2024-03-09 11:57:04] ***************************
[2024-03-09 11:57:04] Python3.x Version :: 3.11
[2024-03-09 11:57:04] ** Check Python3 Version : Done **
[2024-03-09 11:57:04] **************************
[2024-03-09 11:57:04] * Create Python3.11 venv *
[2024-03-09 11:57:04] **************************
[2024-03-09 11:57:13] ** Create Python3.11 Venv : Done **
[2024-03-09 11:57:13] *****************************
[2024-03-09 11:57:13] * Install Python3 libraries *
[2024-03-09 11:57:13] *****************************
[2024-03-09 11:57:13] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
[2024-03-09 11:57:13] Requirement already satisfied: pip in ./venv/lib/python3.11/site-packages (24.0)
[2024-03-09 11:57:14] Collecting wheel
[2024-03-09 11:57:14] Downloading https://www.piwheels.org/simple/wheel/wheel-0.42.0-py3-none-any.whl (65 kB)
[2024-03-09 11:57:14] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.4/65.4 kB 555.3 kB/s eta 0:00:00
[2024-03-09 11:57:14] Installing collected packages: wheel
[2024-03-09 11:57:14] Successfully installed wheel-0.42.0
[2024-03-09 11:57:15] ** Install Pip / Wheel : Done **
[2024-03-09 11:57:15] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
[2024-03-09 11:57:16] Collecting PyChromecast==14.0.0
[2024-03-09 11:57:16] Downloading https://www.piwheels.org/simple/pychromecast/PyChromecast-14.0.0-py2.py3-none-any.whl (75 kB)
[2024-03-09 11:57:16] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.3/75.3 kB 365.4 kB/s eta 0:00:00
[2024-03-09 11:57:16] Collecting google-cloud-texttospeech==2.16.2
[2024-03-09 11:57:16] Downloading https://www.piwheels.org/simple/google-cloud-texttospeech/google_cloud_texttospeech-2.16.2-py2.py3-none-any.whl (151 kB)
[2024-03-09 11:57:17] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 152.0/152.0 kB 1.5 MB/s eta 0:00:00
[2024-03-09 11:57:17] Collecting gTTS==2.5.1
[2024-03-09 11:57:17] Downloading https://www.piwheels.org/simple/gtts/gTTS-2.5.1-py3-none-any.whl (29 kB)
[2024-03-09 11:57:17] Collecting protobuf>=4.25.1 (from PyChromecast==14.0.0)
[2024-03-09 11:57:17] Downloading protobuf-4.25.3-cp37-abi3-manylinux2014_aarch64.whl.metadata (541 bytes)
[2024-03-09 11:57:18] Collecting zeroconf>=0.25.1 (from PyChromecast==14.0.0)
[2024-03-09 11:57:18] Downloading zeroconf-0.131.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (6.1 kB)
[2024-03-09 11:57:18] Collecting casttube>=0.2.0 (from PyChromecast==14.0.0)
[2024-03-09 11:57:18] Downloading https://www.piwheels.org/simple/casttube/casttube-0.2.1-py3-none-any.whl (6.5 kB)
[2024-03-09 11:57:18] Collecting google-api-core!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1 (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-cloud-texttospeech==2.16.2)
[2024-03-09 11:57:18] Downloading https://www.piwheels.org/simple/google-api-core/google_api_core-2.17.1-py3-none-any.whl (137 kB)
[2024-03-09 11:57:19] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.0/137.0 kB 1.4 MB/s eta 0:00:00
[2024-03-09 11:57:19] Collecting google-auth<3.0.0dev,>=2.14.1 (from google-cloud-texttospeech==2.16.2)
[2024-03-09 11:57:19] Downloading https://www.piwheels.org/simple/google-auth/google_auth-2.28.2-py2.py3-none-any.whl (186 kB)
[2024-03-09 11:57:19] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 186.8/186.8 kB 1.9 MB/s eta 0:00:00
[2024-03-09 11:57:19] Collecting proto-plus<2.0.0dev,>=1.22.3 (from google-cloud-texttospeech==2.16.2)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/proto-plus/proto_plus-1.23.0-py3-none-any.whl
[2024-03-09 11:57:20] Downloading https://www.piwheels.org/simple/proto-plus/proto_plus-1.23.0-py3-none-any.whl (48 kB)
[2024-03-09 11:57:20] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.8/48.8 kB 410.9 kB/s eta 0:00:00
[2024-03-09 11:57:20] Collecting requests<3,>=2.27 (from gTTS==2.5.1)
[2024-03-09 11:57:20] Downloading https://www.piwheels.org/simple/requests/requests-2.31.0-py3-none-any.whl (62 kB)
[2024-03-09 11:57:20] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 562.3 kB/s eta 0:00:00
[2024-03-09 11:57:20] Collecting click<8.2,>=7.1 (from gTTS==2.5.1)
[2024-03-09 11:57:20] Downloading https://www.piwheels.org/simple/click/click-8.1.7-py3-none-any.whl (97 kB)
[2024-03-09 11:57:20] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 10.1 MB/s eta 0:00:00
[2024-03-09 11:57:21] Collecting googleapis-common-protos<2.0.dev0,>=1.56.2 (from google-api-core!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-cloud-texttospeech==2.16.2)
[2024-03-09 11:57:21] Downloading https://www.piwheels.org/simple/googleapis-common-protos/googleapis_common_protos-1.62.0-py2.py3-none-any.whl (228 kB)
[2024-03-09 11:57:21] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 228.7/228.7 kB 2.3 MB/s eta 0:00:00
[2024-03-09 11:57:22] Collecting grpcio<2.0dev,>=1.33.2 (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-cloud-texttospeech==2.16.2)
[2024-03-09 11:57:22] Downloading grpcio-1.62.1-cp311-cp311-manylinux_2_17_aarch64.whl.metadata (4.0 kB)
[2024-03-09 11:57:22] Collecting grpcio-status<2.0.dev0,>=1.33.2 (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-cloud-texttospeech==2.16.2)
[2024-03-09 11:57:22] Downloading https://www.piwheels.org/simple/grpcio-status/grpcio_status-1.62.1-py3-none-any.whl (14 kB)
[2024-03-09 11:57:22] Collecting cachetools<6.0,>=2.0.0 (from google-auth<3.0.0dev,>=2.14.1->google-cloud-texttospeech==2.16.2)
[2024-03-09 11:57:22] Downloading https://www.piwheels.org/simple/cachetools/cachetools-5.3.3-py3-none-any.whl (9.3 kB)
[2024-03-09 11:57:22] Collecting pyasn1-modules>=0.2.1 (from google-auth<3.0.0dev,>=2.14.1->google-cloud-texttospeech==2.16.2)
[2024-03-09 11:57:22] Downloading https://www.piwheels.org/simple/pyasn1-modules/pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
[2024-03-09 11:57:22] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.3/181.3 kB 1.8 MB/s eta 0:00:00
[2024-03-09 11:57:23] Collecting rsa<5,>=3.1.4 (from google-auth<3.0.0dev,>=2.14.1->google-cloud-texttospeech==2.16.2)
[2024-03-09 11:57:23] Downloading rsa-4.9-py3-none-any.whl.metadata (4.2 kB)
[2024-03-09 11:57:23] Collecting charset-normalizer<4,>=2 (from requests<3,>=2.27->gTTS==2.5.1)
[2024-03-09 11:57:23] Downloading charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (33 kB)
[2024-03-09 11:57:23] Collecting idna<4,>=2.5 (from requests<3,>=2.27->gTTS==2.5.1)
[2024-03-09 11:57:23] Downloading https://www.piwheels.org/simple/idna/idna-3.6-py3-none-any.whl (61 kB)
[2024-03-09 11:57:23] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 5.5 MB/s eta 0:00:00
[2024-03-09 11:57:23] Collecting urllib3<3,>=1.21.1 (from requests<3,>=2.27->gTTS==2.5.1)
[2024-03-09 11:57:24] Downloading https://www.piwheels.org/simple/urllib3/urllib3-2.2.1-py3-none-any.whl (121 kB)
[2024-03-09 11:57:24] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.1/121.1 kB 12.7 MB/s eta 0:00:00
[2024-03-09 11:57:24] Collecting certifi>=2017.4.17 (from requests<3,>=2.27->gTTS==2.5.1)
[2024-03-09 11:57:24] Downloading https://www.piwheels.org/simple/certifi/certifi-2024.2.2-py3-none-any.whl (163 kB)
[2024-03-09 11:57:24] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.8/163.8 kB 5.2 MB/s eta 0:00:00
[2024-03-09 11:57:24] Collecting ifaddr>=0.1.7 (from zeroconf>=0.25.1->PyChromecast==14.0.0)
[2024-03-09 11:57:24] Downloading https://www.piwheels.org/simple/ifaddr/ifaddr-0.2.0-py3-none-any.whl (12 kB)
[2024-03-09 11:57:24] Collecting pyasn1<0.6.0,>=0.4.6 (from pyasn1-modules>=0.2.1->google-auth<3.0.0dev,>=2.14.1->google-cloud-texttospeech==2.16.2)
[2024-03-09 11:57:24] Downloading https://www.piwheels.org/simple/pyasn1/pyasn1-0.5.1-py2.py3-none-any.whl (84 kB)
[2024-03-09 11:57:24] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.9/84.9 kB 10.4 MB/s eta 0:00:00
[2024-03-09 11:57:24] Downloading protobuf-4.25.3-cp37-abi3-manylinux2014_aarch64.whl (293 kB)
[2024-03-09 11:57:24] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 293.7/293.7 kB 9.5 MB/s eta 0:00:00
[2024-03-09 11:57:25] Downloading zeroconf-0.131.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.3 MB)
[2024-03-09 11:57:25] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 40.6 MB/s eta 0:00:00
[2024-03-09 11:57:25] Downloading charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (136 kB)
[2024-03-09 11:57:25] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 136.6/136.6 kB 26.3 MB/s eta 0:00:00
[2024-03-09 11:57:25] Downloading grpcio-1.62.1-cp311-cp311-manylinux_2_17_aarch64.whl (5.3 MB)
[2024-03-09 11:57:25] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 65.9 MB/s eta 0:00:00
[2024-03-09 11:57:25] Downloading rsa-4.9-py3-none-any.whl (34 kB)
[2024-03-09 11:57:25] Installing collected packages: ifaddr, zeroconf, urllib3, pyasn1, protobuf, idna, grpcio, click, charset-normalizer, certifi, cachetools, rsa, requests, pyasn1-modules, proto-plus, googleapis-common-protos, gTTS, grpcio-status, google-auth, casttube, PyChromecast, google-api-core, google-cloud-texttospeech
[2024-03-09 11:57:27] Successfully installed PyChromecast-14.0.0 cachetools-5.3.3 casttube-0.2.1 certifi-2024.2.2 charset-normalizer-3.3.2 click-8.1.7 gTTS-2.5.1 google-api-core-2.17.1 google-auth-2.28.2 google-cloud-texttospeech-2.16.2 googleapis-common-protos-1.62.0 grpcio-1.62.1 grpcio-status-1.62.1 idna-3.6 ifaddr-0.2.0 proto-plus-1.23.0 protobuf-4.25.3 pyasn1-0.5.1 pyasn1-modules-0.3.0 requests-2.31.0 rsa-4.9 urllib3-2.2.1 zeroconf-0.131.0
[2024-03-09 11:57:27] ** Install Python3 librairies : Done **
[2024-03-09 11:57:27] *****************************
[2024-03-09 11:57:27] * Set Owner on Directories  *
[2024-03-09 11:57:27] *****************************
[2024-03-09 11:57:27] ** Set Owner for Venv Dir : Done **
[2024-03-09 11:57:27] ****************
[2024-03-09 11:57:27] * Install DONE *
[2024-03-09 11:57:27] ****************

Cependant, tout fonctionne parfaitement :slight_smile:

Bonjour @sodaveli ,

Déjà merci pour tes tests :slightly_smiling_face:

Bon il fallait bien que ça arrive ! Pour toi c’est normal qu’il n’affiche rien pour pyenv :crazy_face: donc il n’y a rien à faire de particulier cela fonctionnera comme attendu.

Car sous debian 12, c’est nativement la bonne version de Python qui est incluse au niveau système, donc pas la peine d’installer pyenv. Donc mon script d’installation teste justement si tu es sous debian 12 et si c’est le cas, il saute la partie install pyenv puisque inutile, et utilise la version de Python du système.

Mais ton retour me fait dire qu’il faut que je trouve un moyen de l’indiquer de manière plus intuitive dans les logs d’installation et dans l’interface ! :+1:

Je vais implémenter ça et je reviendrai vers toi pour tester si possible :wink:

Bonne journée
TiTidom.

Merci pour ton retour rapide ! :slight_smile:

Ton plugin fonctionne parfaitement bien ! encore merci et n’hésites pas a me demander pour des test si besoin. je ferais ce que je pourrais pour aider :joy:

Re-Bonjour,

La version 1.1.16 du plugin est en ligne (dispo dès maintenant sur le market), avec l’amélioration de l’affichage de la version de PyEnv (moins trompeur sous Debian 12 notamment) sur la page de configuration et dans les logs d’installation des dépendances :slight_smile:

PS : pour ceux qui ne sont pas sous Debian 12, cela ne change absolument rien par rapport à la version précédente :wink:

Bon we,
TiTidom.

installé et voici le nouvel affichage :
Capture d’écran 2024-03-09 à 17.17.05

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.