Closed yokusrelynkno closed 9 months ago
Please install serial as pr documentation, instead of as you try to do.
Please do not open multiple issues with the same theme, this is not a pymodbus problem, but a problem in how you use pip.
I see, thank you. I thought once you closed the issue, you wouldn't see my answer. Thank you anyways. @janiversen
Versions
Pymodbus Specific
Description
This link gives below example:
Same in github README.
I'm not sure what I'm missing? @janiversen
pymodbusserial package can't be installed through pip and thus program gives 'serial' not defined error during runtime. Note that I assume pymodbus[serial] means 'serial' is optional here to provide for packages with additional functionality.
Code and Logs
Installed pip packages inside venv:
transport_serial.py
Runtime error I'm getting because
import serial
doesn't work: