pymodbus-dev / pymodbus

A full modbus protocol written in python
Other
2.23k stars 911 forks source link

asyncio can not import #287

Closed toplinuxsir closed 6 years ago

toplinuxsir commented 6 years ago
from pymodbus.client.async.asyncio import ModbusClientProtocol

error asyncio module not exist , can not import ModbusClientProtocol

Versions

Pymodbus Specific

Description

What were you trying, what has happened, what went wrong, and what did you expect?

Code and Logs

 # code and logs here.
dhoomakethu commented 6 years ago

It should be from pymodbus.client.async import ModbusClientProtocol .

toplinuxsir commented 6 years ago

@dhoomakethu It support asyncio ? The asyncio example can not work https://pymodbus.readthedocs.io/en/async/source/example/async_asyncio_client.html#