EasyModbusTCP.PY icon indicating copy to clipboard operation
EasyModbusTCP.PY copied to clipboard

ModuleNotFoundError: No module named 'modbus_protocol'

Open thebugcreator opened this issue 2 years ago • 4 comments

Hi, I've been trying to use modbus version 3.2 in a personal project. Upon the execution of my script, the following error popped up.

image

I can't seem to find any information regarding this problem, thus the creation of this issue.

I have tried to recompile the source code within the easymodbus folder as well as my own code.

I'm using Python 3.10.7 and installed modbus through pip 23.2.1 Thanks!

thebugcreator avatar Oct 06 '23 23:10 thebugcreator

I have the same problem.

dangtuan18 avatar Jun 11 '24 08:06 dangtuan18

We have encountered this too - any ideas?

agwidarsito avatar Jun 16 '24 09:06 agwidarsito

Hi, Same problem here with python 3.12.6 and python 3.8.6. Has anyone in the meantime found a solution?

leonardo-chiappisi avatar Sep 26 '24 07:09 leonardo-chiappisi

As a workaround, I uninstalled the latest version of easymodbus and installed an older version instead.

pip3 uninstall easymodbus && pip3 install easymodbus==1.4.0

sarah-seidman avatar Oct 14 '24 20:10 sarah-seidman