Hello friends,
New person here, really excited to get going on this system. Apologies if this is being posted to the wrong session (happy to move it, just let me know). I was not 100% sure if this is a bug or Saving
simply user error. I have a fresh install of pylabrobot on an Ubuntu setup running Python 3.11.4. Whenever I attempt to run the following command (part of the getting started process)
from pylabrobot.liquid_handling import LiquidHandler
I get the following error:AttributeError: module ‘asyncio’ has no attribute ‘coroutine’. Did you mean: ‘coroutines’?
AttributeError: module ‘asyncio’ has no attribute ‘coroutine’. Did you mean: ‘coroutines’?
Is this a bug or am I simply doing something braindead? The full stacktrace is below:
from pylabrobot.liquid_handling import LiquidHandler
Traceback (most recent call last):
File “”, line 1, in
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/pylabrobot/liquid_handling/init.py”, line 3, in
from .backends import LiquidHandlerBackend, STAR
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/pylabrobot/liquid_handling/backends/init.py”, line 8, in
from .opentrons_backend import OpentronsBackend
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/pylabrobot/liquid_handling/backends/opentrons_backend.py”, line 20, in
import ot_api
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/ot_api/init.py”, line 19, in
import ot_api.labware as labware
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/ot_api/labware.py”, line 3, in
from ot_api.decorators import request_with_run_id, command
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/ot_api/decorators.py”, line 6, in
import opentrons.protocol_engine.errors as ot_errors
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/opentrons/init.py”, line 9, in
from opentrons.hardware_control import (
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/opentrons/hardware_control/init.py”, line 13, in
from .api import API
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/opentrons/hardware_control/api.py”, line 38, in
from .backends import Controller, Simulator
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/opentrons/hardware_control/backends/init.py”, line 1, in
from .controller import Controller
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/opentrons/hardware_control/backends/controller.py”, line 22, in
import aionotify # type: ignore[import]
^^^^^^^^^^^^^^^^
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/aionotify/init.py”, line 5, in
from .base import Watcher
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/aionotify/base.py”, line 10, in
from . import aioutils
File “/home/blipchin/nexus/plr_start/env/lib/python3.11/site-packages/aionotify/aioutils.py”, line 122, in
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module ‘asyncio’ has no attribute ‘coroutine’. Did you mean: ‘coroutines’?