Installation des dépendances qui foirent

Bonjour
Suite à mon post : Commande off qui crée une erreur
j’ai tenté une réinstallation de plugin.
Je n’arrive maintenant plus à installer les dépendances (Voir log)
Erreur pip (Warning)
N’étant pas très à l’aise avec les commandes, j’aimerais une confirmation de l’action à mener avant de
faire empirer la situation.

********************************************************
*             Installation des dépendances             *
********************************************************
10
***** Commande: sudo apt-get update **********
Atteint :1 http://security.debian.org/debian-security buster/updates InRelease
Atteint :2 http://ftp.fr.debian.org/debian buster InRelease
Atteint :3 http://ftp.fr.debian.org/debian buster-updates InRelease
Atteint :4 https://deb.nodesource.com/node_14.x buster InRelease
Ign :5 https://repo.distrib.works/apt  InRelease
Ign :6 https://repo.distrib.works/apt  Release
Ign :7 https://repo.distrib.works/apt  Packages
Ign :8 https://repo.distrib.works/apt  Translation-fr_FR
Ign :9 https://repo.distrib.works/apt  Translation-fr
Ign :10 https://repo.distrib.works/apt  Translation-en
Réception de :7 https://repo.distrib.works/apt  Packages
Ign :8 https://repo.distrib.works/apt  Translation-fr_FR
Ign :9 https://repo.distrib.works/apt  Translation-fr
Ign :10 https://repo.distrib.works/apt  Translation-en
Ign :8 https://repo.distrib.works/apt  Translation-fr_FR
Ign :9 https://repo.distrib.works/apt  Translation-fr
Ign :10 https://repo.distrib.works/apt  Translation-en
Ign :8 https://repo.distrib.works/apt  Translation-fr_FR
Ign :9 https://repo.distrib.works/apt  Translation-fr
Ign :10 https://repo.distrib.works/apt  Translation-en
Ign :8 https://repo.distrib.works/apt  Translation-fr_FR
Ign :9 https://repo.distrib.works/apt  Translation-fr
Ign :10 https://repo.distrib.works/apt  Translation-en
Ign :8 https://repo.distrib.works/apt  Translation-fr_FR
Ign :9 https://repo.distrib.works/apt  Translation-fr
Ign :10 https://repo.distrib.works/apt  Translation-en
Ign :8 https://repo.distrib.works/apt  Translation-fr_FR
Ign :9 https://repo.distrib.works/apt  Translation-fr
Ign :10 https://repo.distrib.works/apt  Translation-en
8 688 o réceptionnés en 3s (2 928 o/s)
Lecture des listes de paquets…
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
net-tools est déjà la version la plus récente (1.60+git20180626.aebd88e-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 3 non mis à jour.
/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/setup.py found.
running install
running bdist_egg
running egg_info
writing requirements to LGTV.egg-info/requires.txt
writing LGTV.egg-info/PKG-INFO
writing top-level names to LGTV.egg-info/top_level.txt
writing dependency_links to LGTV.egg-info/dependency_links.txt
reading manifest file 'LGTV.egg-info/SOURCES.txt'
writing manifest file 'LGTV.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/LGTV
copying build/lib.linux-x86_64-2.7/LGTV/__init__.py -> build/bdist.linux-x86_64/egg/LGTV
byte-compiling build/bdist.linux-x86_64/egg/LGTV/__init__.py to __init__.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
LGTV.__init__: module references __file__
creating 'dist/LGTV-0.1.2-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing LGTV-0.1.2-py2.7.egg
removing '/usr/local/lib/python2.7/dist-packages/LGTV-0.1.2-py2.7.egg' (and everything under it)
creating /usr/local/lib/python2.7/dist-packages/LGTV-0.1.2-py2.7.egg
Extracting LGTV-0.1.2-py2.7.egg to /usr/local/lib/python2.7/dist-packages
LGTV 0.1.2 is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/LGTV-0.1.2-py2.7.egg
Processing dependencies for LGTV==0.1.2
Searching for ws4py==0.5.1
Best match: ws4py 0.5.1
Processing ws4py-0.5.1-py2.7.egg
ws4py 0.5.1 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages/ws4py-0.5.1-py2.7.egg
Searching for wakeonlan==0.2.2
Best match: wakeonlan 0.2.2
Adding wakeonlan 0.2.2 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for LGTV==0.1.2
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
libffi-dev est déjà la version la plus récente (3.2.1-9).
libffi6 est déjà la version la plus récente (3.2.1-9).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 3 non mis à jour.
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
python-dev est déjà la version la plus récente (2.7.16-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 3 non mis à jour.
/var/www/html/plugins/webosTv/3rdparty/PyWebOSTV/setup.py found.
running install
running bdist_egg
running egg_info
writing requirements to pywebostv.egg-info/requires.txt
writing pywebostv.egg-info/PKG-INFO
writing top-level names to pywebostv.egg-info/top_level.txt
writing dependency_links to pywebostv.egg-info/dependency_links.txt
reading manifest file 'pywebostv.egg-info/SOURCES.txt'
writing manifest file 'pywebostv.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/connection.py -> build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/model.py -> build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/__init__.py -> build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/controls.py -> build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/discovery.py -> build/bdist.linux-x86_64/egg/pywebostv
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/connection.py to connection.pyc
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/model.py to model.pyc
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/controls.py to controls.pyc
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/discovery.py to discovery.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/pywebostv-0.8.2-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing pywebostv-0.8.2-py2.7.egg
Removing /usr/local/lib/python2.7/dist-packages/pywebostv-0.8.2-py2.7.egg
Copying pywebostv-0.8.2-py2.7.egg to /usr/local/lib/python2.7/dist-packages
pywebostv 0.8.2 is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/pywebostv-0.8.2-py2.7.egg
Processing dependencies for pywebostv==0.8.2
Searching for ws4py==0.5.1
Best match: ws4py 0.5.1
Processing ws4py-0.5.1-py2.7.egg
ws4py 0.5.1 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages/ws4py-0.5.1-py2.7.egg
Searching for requests==2.21.0
Best match: requests 2.21.0
Adding requests 2.21.0 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for future==0.18.2
Best match: future 0.18.2
Processing future-0.18.2-py2.7.egg
future 0.18.2 is already the active version in easy-install.pth
Installing pasteurize script to /usr/local/bin
Installing futurize script to /usr/local/bin
Using /usr/local/lib/python2.7/dist-packages/future-0.18.2-py2.7.egg
Searching for pyOpenSSL==19.0.0
Best match: pyOpenSSL 19.0.0
Adding pyOpenSSL 19.0.0 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for idna==2.6
Best match: idna 2.6
Adding idna 2.6 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for cryptography==2.6.1
Best match: cryptography 2.6.1
Adding cryptography 2.6.1 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Finished processing dependencies for pywebostv==0.8.2
Collecting wakeonlan==0.2.2
Using cached wakeonlan-0.2.2-py3-none-any.whl
Installing collected packages: wakeonlan
Attempting uninstall: wakeonlan
Found existing installation: wakeonlan 0.2.2
Uninstalling wakeonlan-0.2.2:
Successfully uninstalled wakeonlan-0.2.2
Successfully installed wakeonlan-0.2.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 22.0.4; however, version 22.1 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
********************************************************
*                 Installation terminée                *
********************************************************

Les warning ne semblent pas si dérangeant que cela.
L’installation des dépendances est en NOK?

Antoine

Oui :worried::slightly_frowning_face::slightly_frowning_face: :slightly_frowning_face::slightly_frowning_face:

Si tu es une installation DIY, j’appliquerai ce qui est demandé pour la commande PIP.

Antoine

Merci.
J’ai tenté

/usr/bin/python3 -m pip install --upgrade pip

Mais pas mieux

C’est quoi le message d’erreur quand tu fais la commande. Une copie d la page santé de jeedom, svp.

Sinon

Sudo apt update

Puis

Sudo apt upgrade

Antoine


Le message après la commande est :

Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /var/www/.local/lib/python3.7/site-packages (22.1)

Il me semble que la première fois il étais différent

Retente l’installation des dépendances et mets nous le log, si cela reste en NOK ou différent de celui plus haut.

Antoine

A priori, ils sont identiques

********************************************************
*             Installation des dépendances             *
********************************************************
10
***** Commande: sudo apt-get update **********
Hit:1 http://ftp.fr.debian.org/debian buster InRelease
Get:2 http://ftp.fr.debian.org/debian buster-updates InRelease [51.9 kB]
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Hit:4 https://deb.nodesource.com/node_14.x buster InRelease
Ign:5 https://repo.distrib.works/apt  InRelease
Ign:6 https://repo.distrib.works/apt  Release
Ign:7 https://repo.distrib.works/apt  Packages
Ign:8 https://repo.distrib.works/apt  Translation-fr
Ign:9 https://repo.distrib.works/apt  Translation-en
Get:7 https://repo.distrib.works/apt  Packages
Ign:8 https://repo.distrib.works/apt  Translation-fr
Ign:9 https://repo.distrib.works/apt  Translation-en
Ign:8 https://repo.distrib.works/apt  Translation-fr
Ign:9 https://repo.distrib.works/apt  Translation-en
Ign:8 https://repo.distrib.works/apt  Translation-fr
Ign:9 https://repo.distrib.works/apt  Translation-en
Ign:8 https://repo.distrib.works/apt  Translation-fr
Ign:9 https://repo.distrib.works/apt  Translation-en
Ign:8 https://repo.distrib.works/apt  Translation-fr
Ign:9 https://repo.distrib.works/apt  Translation-en
Ign:8 https://repo.distrib.works/apt  Translation-fr
Ign:9 https://repo.distrib.works/apt  Translation-en
Fetched 60.6 kB in 2s (28.8 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
net-tools is already the newest version (1.60+git20180626.aebd88e-1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/setup.py found.
running install
running bdist_egg
running egg_info
writing requirements to LGTV.egg-info/requires.txt
writing LGTV.egg-info/PKG-INFO
writing top-level names to LGTV.egg-info/top_level.txt
writing dependency_links to LGTV.egg-info/dependency_links.txt
reading manifest file 'LGTV.egg-info/SOURCES.txt'
writing manifest file 'LGTV.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/LGTV
copying build/lib.linux-x86_64-2.7/LGTV/__init__.py -> build/bdist.linux-x86_64/egg/LGTV
byte-compiling build/bdist.linux-x86_64/egg/LGTV/__init__.py to __init__.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
LGTV.__init__: module references __file__
creating 'dist/LGTV-0.1.2-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing LGTV-0.1.2-py2.7.egg
removing '/usr/local/lib/python2.7/dist-packages/LGTV-0.1.2-py2.7.egg' (and everything under it)
creating /usr/local/lib/python2.7/dist-packages/LGTV-0.1.2-py2.7.egg
Extracting LGTV-0.1.2-py2.7.egg to /usr/local/lib/python2.7/dist-packages
LGTV 0.1.2 is already the active version in easy-install.pth

Installed /usr/local/lib/python2.7/dist-packages/LGTV-0.1.2-py2.7.egg
Processing dependencies for LGTV==0.1.2
Searching for ws4py==0.5.1
Best match: ws4py 0.5.1
Processing ws4py-0.5.1-py2.7.egg
ws4py 0.5.1 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/ws4py-0.5.1-py2.7.egg
Searching for wakeonlan==0.2.2
Best match: wakeonlan 0.2.2
Adding wakeonlan 0.2.2 to easy-install.pth file

Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for LGTV==0.1.2
Reading package lists...
Building dependency tree...
Reading state information...
libffi-dev is already the newest version (3.2.1-9).
libffi6 is already the newest version (3.2.1-9).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python-dev is already the newest version (2.7.16-1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
/var/www/html/plugins/webosTv/3rdparty/PyWebOSTV/setup.py found.
running install
running bdist_egg
running egg_info
writing requirements to pywebostv.egg-info/requires.txt
writing pywebostv.egg-info/PKG-INFO
writing top-level names to pywebostv.egg-info/top_level.txt
writing dependency_links to pywebostv.egg-info/dependency_links.txt
reading manifest file 'pywebostv.egg-info/SOURCES.txt'
writing manifest file 'pywebostv.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/connection.py -> build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/model.py -> build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/__init__.py -> build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/controls.py -> build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/discovery.py -> build/bdist.linux-x86_64/egg/pywebostv
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/connection.py to connection.pyc
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/model.py to model.pyc
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/controls.py to controls.pyc
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/discovery.py to discovery.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/pywebostv-0.8.2-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing pywebostv-0.8.2-py2.7.egg
Removing /usr/local/lib/python2.7/dist-packages/pywebostv-0.8.2-py2.7.egg
Copying pywebostv-0.8.2-py2.7.egg to /usr/local/lib/python2.7/dist-packages
pywebostv 0.8.2 is already the active version in easy-install.pth

Installed /usr/local/lib/python2.7/dist-packages/pywebostv-0.8.2-py2.7.egg
Processing dependencies for pywebostv==0.8.2
Searching for ws4py==0.5.1
Best match: ws4py 0.5.1
Processing ws4py-0.5.1-py2.7.egg
ws4py 0.5.1 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/ws4py-0.5.1-py2.7.egg
Searching for requests==2.21.0
Best match: requests 2.21.0
Adding requests 2.21.0 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Searching for future==0.18.2
Best match: future 0.18.2
Processing future-0.18.2-py2.7.egg
future 0.18.2 is already the active version in easy-install.pth
Installing pasteurize script to /usr/local/bin
Installing futurize script to /usr/local/bin

Using /usr/local/lib/python2.7/dist-packages/future-0.18.2-py2.7.egg
Searching for pyOpenSSL==19.0.0
Best match: pyOpenSSL 19.0.0
Adding pyOpenSSL 19.0.0 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Searching for idna==2.6
Best match: idna 2.6
Adding idna 2.6 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Searching for cryptography==2.6.1
Best match: cryptography 2.6.1
Adding cryptography 2.6.1 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Finished processing dependencies for pywebostv==0.8.2
Collecting wakeonlan==0.2.2
  Using cached wakeonlan-0.2.2-py3-none-any.whl
Installing collected packages: wakeonlan
  Attempting uninstall: wakeonlan
    Found existing installation: wakeonlan 0.2.2
    Uninstalling wakeonlan-0.2.2:
      Successfully uninstalled wakeonlan-0.2.2
Successfully installed wakeonlan-0.2.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 22.0.4; however, version 22.1 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
********************************************************
*                 Installation terminée                *
********************************************************

Un point que je comprends pas, c’est la référence à python 2.7 dans les dépendances mais pour pip, c’est python 3.

Using /usr/lib/python2.7/dist-packages

Peut être un souci entre python 2.7 et 3.x.
Que donne

python –version

pip --version

Antoine

Ça se complique

python –version

Donne

python: can't open file '–version': [Errno 2] No such file or directory
pip --version
 pip 22.1 from /var/www/.local/lib/python3.7/site-packages/pip (python 3.7)

python --version

Antoine

C’est mieux :smile:

Python 2.7.16

Bonjour
Toujours pas trouvé de solution. Si @ZygOm4t1k nous lit :blush:

Bonjour @ je me suis retapé une DIY juste-pour-voir :slight_smile:
Voici la solution que je recommande :

1/ Je lance l’installation du plugin

Tout se passe bien du point de vue de l’installation … et pourtant je suis interpellé.
:grin:

Vue que vous êtes tous entrain de râler et de bramer je regarde dans les logs du plugins qui me montrent ça:

Et là, je réalise deux trucs … le premier c’est de régler le problème du pip en root … et le deuxième c’est le packet « ws4py » qui dérape:

2/ J’ouvre une session en SSH sur la bête et je vérifie mes versions de python parce que j’ai vue plein de gens intelligents faire ça!

Dans ma fenêtre SSH:

python --version

et je reçois
Python 2.7.16

ensuite
python3 --version

et je reçois
Python 3.7.3

Ce sont les bonnes versions qui sont installées … si vous n’avez pas ce résultat c’est plus compliqué et il vous faudra ouvrir un autre post pour que je vous règle ce problème là aussi :grin:

La suite : pris de frénésie je tape ça (vous c’est du copier collé)

sudo apt update
sudo apt install python-pip
sudo pip install --upgrade pip

puis

sudo apt update
sudo apt install python3-venv python3-pip
sudo -H pip3 install --upgrade pip

C’est pour blinder les deux versions de python installées et pour passer dans une version de python virtualisée … puis enchainer avec une installation de pip …

3/ Dans le monde du PIPo:

Et là, on ne vérifie pas la version de python mais bien de PIP:

pip3 --version

et je reçois
pip 22.1 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)

Ca commence à sentir plutôt bon … Je résume … on a créer un environnent de python virtuel dans lequel on a installé PIP. Et c’est DANS PIP que l’on va installer le dernire paquet manquant avec :

pip install ws4py

Une fois cette bonne action accomplie on relancer l’installation du plugin WebOS TV à partir du market, j’ai choisi la version beta … et …

Voilà … je n’accepte aucune autre forme de paiement que ma statue en bronze ou mon buste en taillé dans la masse d’un 304L.

Cordialement,

:wink:

2 « J'aime »

Salut,

Bah non justement, python 3.9 c’est sur bulleyes qui ne contient pas python 2

Vous nous cachez quelque chose ? :wink:

Merdum … erreur de typographie (corrigée) … du coup pour la statue … c non ? :grin:

on supprimera les bras pour la peine :grin:

En fait, d’après moi, le problème n’est pas que ws4py n’était pas installé mais qu’il l’était dans l’environnement de python2 (que le plugin utilise) alors que le plugin fait le check en utilsant pip qui est par erreur lié à python3 alors qu’il est en théorie lié à python/python2 sur un système comportant python2 & python3.

Autrement dit, le problème vient d’une incohérence entre la façon dont le paquet est installé et la façon dont on vérifie qu’il soit bien installé => NOK

Ici vous avez installé le paquet sous python3 également donc la vérification passe en OK et ensuite le plugin fonctionne avec celui qu’il a installé sous python2, autrement dit le paquet installé sous python3 n’est pas vraiment utilisé par la suite.

Je suis revenu sur ce post car en fait j’ai commencé à répondre à la même question ici: Dépendance ne s'installe pas? - #12 par Mips mais je n’ai réalisé qu’après que la question avait déjà été posée (plusieurs fois même)

Hello
Comme je viens de le dire sur l’autre post, la solution ne fonctionne pas chez moi :frowning_face:

Un grand merci pour toutes les précisions MIPS :grin:
En revanche je n’avais pas fais le lien avec les réponses que tu avais déjà communiquer … je rajoute donc ton lien à mon tutoriel perso :+1:

A la lumière de ces nouvelles informations je vais essayer de filer 2 coups de main à Claude …

Je te souhaite une excellente journée MIPS :wink: :wave: