You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw this when I searched for pymodbus.client.sync:
Looks like the new version of pymodbus is to blame.
The older version of Pymodbus used the syntax:
from Pymodbus.client.sync import ModbusTcpClient
whereas now on the current version the Docs suggest that the sync has been dropped and the correct syntax is:
from Pymodbus.client import ModbusTcpClient
Also, change the "unit=" to "slave=" in classic_modbusdecoder.py
I'm getting a failure trying to run this for testing... when I run it, I'm getting ModuleNotFoundError: No module named 'pymodbus.client.sync'.
I have already tried re-running 'pip install pymodbus', and it claims the requirement is already satisfied.
Any idea as to what I'm doing wrong?
The text was updated successfully, but these errors were encountered: