Skip to content

Cannot use the pymodbus.console because of a import error #22

Closed
@raphapassini

Description

@raphapassini

After installing pymodbus and repl I'm getting the following error:

Traceback (most recent call last):
  File "/path/to/file/pymodbus.console", line 5, in <module>
    from pymodbus_repl.client.main import main
  File "/path/to/file/.venv/lib/python3.11/site-packages/pymodbus_repl/client/main.py", line 15, in <module>
    from pymodbus.transaction import (
ImportError: cannot import name 'ModbusAsciiFramer' from 'pymodbus.transaction' (/home/raphael/stuff/plc-client/.venv/lib/python3.11/site-packages/pymodbus/transaction.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions