Skip to content

async branch is not compatible with python 3.7 #320

@cbergmiller

Description

@cbergmiller

async is a not allowed in Python 3.7 module paths.

Versions

  • Python: 3.7
  • OS: Windows
  • Pymodbus: async branch

Description

The async branch can not be used with Python 3.7
A solution would be to rename pymodbus.client.async with pymodbus.client.aio or pymodbus.client.asynchronous.

I can create a PR if desired.

Code and Logs

  File "async_asyncio_client.py", line 18
    from pymodbus.client.async.tcp import AsyncModbusTCPClient as ModbusClient
                             ^
SyntaxError: invalid syntax

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions