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: cannot import name 'WrapperHeader' from 'dlms' #65

Closed
ghost opened this issue Apr 4, 2023 · 2 comments
Closed

ImportError: cannot import name 'WrapperHeader' from 'dlms' #65

ghost opened this issue Apr 4, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 4, 2023

I have been trying to use this but every time i run "examples/dlms_with_tcp_example.py" , i get this error:
from dlms_cosem import WrapperHeader
ImportError: cannot import name 'WrapperHeader' from 'dlms_cosem'

I tried changing dlms to dlms_cosem, but the problem still persists. Is there any other version that supports WrapperHeader?

@Krolken
Copy link
Contributor

Krolken commented Apr 4, 2023

Have you installed from source or are you installing from pypi?

Can you add the whole traceback? Seem like there is a code error but I am wondering why I have not gotten that in production?

@ghost
Copy link
Author

ghost commented Apr 12, 2023

when i installed this via pip, the version that got downloaded was a older version. I then downloaded the latest dlms-cosem version and the issue got resolved.

@ghost ghost closed this as completed Apr 12, 2023
This issue was closed.
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

1 participant