I get this error with example.py address port
from pymodbus.client.sync import ModbusTcpClient
ModuleNotFoundError: No module named 'pymodbus.client.sync'
Iit's work when i modify init.py this two line
from pymodbus.client.sync import ModbusTcpClient
from pymodbus.client.sync import ModbusSerialClient
by
from pymodbus.client import ModbusTcpClient
from pymodbus.client import ModbusSerialClient
I don't know if is the right solution
Regards
Jean-Marie
I get this error with example.py address port from pymodbus.client.sync import ModbusTcpClient ModuleNotFoundError: No module named 'pymodbus.client.sync'
Iit's work when i modify init.py this two line
by
I don't know if is the right solution Regards Jean-Marie