dummyserial icon indicating copy to clipboard operation
dummyserial copied to clipboard

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

Open dlwalter opened this issue 3 years ago • 1 comments

>>> 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

dlwalter avatar Sep 29 '21 15:09 dlwalter

I'm having the same problem. I see the package hasn't been touched in 6 years. Too bad it doesn't work.

chrisdel101 avatar May 16 '22 22:05 chrisdel101