I follow the step to install OpenPLCv3 but I can not run the file name and I got this message from teminal.

pi@raspberrypi:~/OpenPLC_v3/webserver $ python
Traceback (most recent call last):
File "", line 12, in <module>
import monitoring as monitor
File "/home/pi/OpenPLC_v3/webserver/", line 2, in <module>
from pymodbus.client.sync import ModbusTcpClient
ImportError: No module named pymodbus.client.sync
pi@raspberrypi:~/OpenPLC_v3/webserver $ python3
Traceback (most recent call last):
File "", line 11, in <module>
import openplc
File "/home/pi/OpenPLC_v3/webserver/", line 7, in <module>
from Queue import Queue, Empty
ImportError: No module named 'Queue'

Please help.
Thank you so much
Quote 0 0
It looks like you're missing one dependency. Just type
pip install pymodbus

and it will be fine.

Also, you shouldn't run the file manually. Instead, just reboot your Pi and OpenPLC will load automatically.
Quote 0 0