Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dlwalter opened this issue Sep 29, 2021 · 1 comment

Comments

@dlwalter
Copy link

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

@chrisdel101
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants