Skip to content

ModuleNotFoundError: No module named 'pymodbus.client.sync' #62

Answered by smmadge
smmadge asked this question in Q&A
Discussion options

You must be logged in to vote

Fixed, apparently using the following (at the time of writing latest) packages fixed it:
solaredge_modbus-0.7.2-py3-none-any.whl
pyserial_asyncio-0.6-py3-none-any.whl
pymodbus-3.2.1-py3-none-any.whl

First uninstall all previously installed python modules:
sudo pip3 uninstall solaredge_modbus
sudo pip3 uninstall pyserial_asyncio
sudo pip3 uninstall pymodbus

and then do a
sudo pip3 install solaredge_modbus

In contrary of what the README.txt says: do NOT use the requirements.txt dependency since that would install an older solaredge_modbus version which doesn't seem to work well with pymodbus anymore.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by smmadge
Comment options

You must be logged in to vote
1 reply
@telewy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants