J’ai essayé d’installer my-modbus en version stable, puis en version beta. J’ai la même erreur avec les deux versions.
--- Logging error ---
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/utils/logging.py", line 177, in emit
self.console.print(renderable, overflow="ignore", crop=False, style=style)
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/rich/console.py", line 1673, in print
extend(render(renderable, render_options))
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/rich/console.py", line 1305, in render
for render_output in iter_render:
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/utils/logging.py", line 134, in __rich_console__
for line in lines:
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/rich/segment.py", line 249, in split_lines
for segment in segments:
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/rich/console.py", line 1283, in render
renderable = rich_cast(renderable)
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/rich/protocol.py", line 36, in rich_cast
renderable = cast_method()
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/self_outdated_check.py", line 130, in __rich__
pip_cmd = get_best_invocation_for_this_pip()
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/utils/entrypoints.py", line 60, in get_best_invocation_for_this_pip
os.path.join(binary_prefix, exe_name),
File "/usr/lib/python3.7/genericpath.py", line 97, in samefile
s2 = os.stat(f2)
FileNotFoundError: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/bin/pip3.7'
Call stack:
Je peux mettre la callstack complète ici au besoin.
J’ai un tas de plugins, j’ai l’impression que ça se bouscule entre numéros de versions.
Bonjour,
J’ai aussi un soucis d’install du plugins, jeedom est installé sur une VM debian 11. Cela est peut être la cause, mais…
ci-dessous le log :
++++++++++++++++++++++++++++++++++++++
+ MyModbus Install dependancies
+ v1.3
+ By Bebel27
++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MyModbus - Debut de l'installation des dependances ...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
Wed Nov 23 15:39:19 CET 2022
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mises a jour du systeme en cours ...
/!\ Peut etre long suivant l'anciennete de votre systeme.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Installation dependance python-pip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (20.3.4-4+deb11u1).
The following packages were automatically installed and are no longer required:
libdlt2 libev4 libwebsockets16
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Installation dependance pypModbusTCP
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Requirement already satisfied: pyModbus in /usr/local/lib/python3.9/dist-packages (3.0.2)
Requirement already satisfied: pyModbusTCP in /usr/local/lib/python3.9/dist-packages (0.2.0)
-
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Installation dependance git
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.30.2-1).
The following packages were automatically installed and are no longer required:
libdlt2 libev4 libwebsockets16
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Clonage de mbtget
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Fin de l'installation des dependances MyModbus...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Version de python
sudo: python: command not found
Version de PIP
pip 20.3.4 from /usr/lib/python3/dist-packages/pip (python 3.9)
-- test install --
pymodbus non installé , lancement installation en local
Archive: /var/www/html/plugins/mymodbus/ressources/Biblio.zip
checkdir: cannot create extraction directory: /usr/local/lib/python2.7/dist-packages
No such file or directory
c’est bon c’est fait, mais j’ai toujours un souci :
++++++++++++++++++++++++++++++++++++++
+ MyModbus Install dependancies
+ v1.5
+ By Bebel27
++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MyModbus - Debut de l'installation des dependances ...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
Wed Nov 23 18:21:57 CET 2022
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mises a jour du systeme en cours ...
/!\ Peut etre long suivant l'anciennete de votre systeme.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Installation dependance python-pip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Reading package lists...
Building dependency tree...
Reading state information...
Package python-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python3-pip
E: Package 'python-pip' has no installation candidate
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Installation dependance pypModbus
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Collecting pyModbus==2.5.3
Downloading pymodbus-2.5.3-py2.py3-none-any.whl (154 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.5/154.5 kB 758.4 kB/s eta 0:00:00
Collecting pyserial>=3.4
Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 317.5 kB/s eta 0:00:00
Requirement already satisfied: six>=1.15.0 in /usr/lib/python3/dist-packages (from pyModbus==2.5.3) (1.16.0)
Installing collected packages: pyserial, pyModbus
Attempting uninstall: pyModbus
Found existing installation: pymodbus 3.0.2
Uninstalling pymodbus-3.0.2:
Successfully uninstalled pymodbus-3.0.2
Successfully installed pyModbus-2.5.3 pyserial-3.5
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
-
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Installation dependance git
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.30.2-1).
The following packages were automatically installed and are no longer required:
libdlt2 libev4 libwebsockets16
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Clonage de rien
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Controle version...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Version de python
Python 3.9.2
Version de PIP
pip 22.3.1 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Fin de l'installation des dependances MyModbus...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
c’est ok pour l’install, j’ai du le faire en manuel.
MAintenant j’arrive à lire, mais pas écrire une idée ?
j’ai fait un test d’écriture avec modbus doctor, c’est ok.