Skip to content

ImportError pyserial cannot import name 'portNotOpenError' from 'serial.serialutil' #4

@dlwalter

Description

@dlwalter
>>> import dummyserial
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/dummyserial/__init__.py", line 17, in <module>
    from .classes import Serial  # NOQA
  File "/usr/local/lib/python3.9/site-packages/dummyserial/classes.py", line 11, in <module>
    from serial.serialutil import SerialException, portNotOpenError
ImportError: cannot import name 'portNotOpenError' from 'serial.serialutil' (/usr/local/lib/python3.9/site-packages/serial/serialutil.py)

Looks like this is fixed by a PR awaiting approval

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions