Issue with Missing "sync.py" File in pymodbus #1727
-
Description: I followed the installation steps, verified that the required packages are installed, and ensured that the Modbus device is reachable. However, I still encounter the issue of the missing "sync.py" file. Code Sample (without sensitive information): python def main():
if name == "main": Any assistance in resolving this issue would be greatly appreciated. Thank you in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
we have not had a sync.py for a very long time, I suggest you read our documentation on how to use the version of pymodbus you are using. And btw. your read is also wrong. It is of course your choice, but you might be better served, by using our examples, which are tested against every version. simple_client_sync.py seems to do what you need. |
Beta Was this translation helpful? Give feedback.
we have not had a sync.py for a very long time, I suggest you read our documentation on how to use the version of pymodbus you are using.
And btw. your read is also wrong.
It is of course your choice, but you might be better served, by using our examples, which are tested against every version. simple_client_sync.py seems to do what you need.