I am trying to switch from Python Legacy Remote API to ZeroMQ as suggested, but I have encountered a bit more resistence than expected. One of the problems I would like to ask for help:
While I tried to run code from "simpleTest-nonBlocking.py" and with example scene "controlledViaZmq.ttt", I got the following error and I couldn't find a solution online.
Program started
Traceback (most recent call last):
File "/home/....../zeromq_nonblocking.py", line 92, in <module>
asyncio.run(mainFunc())
File "/home/....../lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/....../lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/home/....../zeromq_nonblocking.py", line 23, in mainFunc
async with RemoteAPIClient() as client:
AttributeError: __aenter__
Could you provide some hints on how to resolve this issue? Thank you.