-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
ModuleNotFoundError: No module named 'pyasn1.compat.octets' #113
Comments
Looks like it could be fixed by (re)borrowing the |
Actually that's just the thin end of the wedge. Lots more usages of |
Multiple new releases have been out with the fix. Users can pin pyasn1 to 0.6.0 or upgrade to a suitable new release (6.1.4, 6.2.6, and 7.1.0). |
When is the pypi release? |
@lextm Where do the versions 6.1.4, 6.2.6, and 7.1.0 come into play? I see you have updated your changelog on your webpage but there has been no PyPi releases past 6.2. |
Please read etingof#429. Our team have taken over Ilya's PyPI packages, so you should switch to the packages without LeXtudio postfix now. |
Oh interesting that finally went through, congrats. |
Thanks for getting the release onto pypi. I've upgraded our tooling to use it and it's all working as expected. |
@lextm sorry for slightly off-topic; snmpsim needs updating/pinning of 0.6.0 also! ( snpmsim repo doesn't have issues enabled) |
@Jellyfrog You can create a new issue to track that on this repo. |
Sorry, even though I see that this has been fixed upstream, I don't know how to repair this for my usage. Using a requirements.txt file, I am currently pinned to: Based on the information in this thread, I am guessing that I should change this to |
@grant-allan-ctct release 6.0 reaches end of life on Sep 23, 2024, so you have to upgrade to 6.1.4 or 6.2.6. |
Thank you @lextm - but of pysnmp-lexstudio or pysnmp - or do they work out to be equivalent? (Please excuse my ignorance.) |
@grant-allan-ctct Scroll up please. Already answered. |
Expected behavior
We have a script that had been happily using pysnmp to do some mib parsing.
Actual behavior
After an update we started getting the following traceback
Looks like pyasn1.compat.octets was removed in pyasn1/pyasn1@6f770ba
Detailed steps
I can provide the script we're using if required but hopefully the traceback is enough to go on.
Python package information
7.0.3
Operating system information
Linux (ubuntu 22.04)
Python information
3.10
(Optional) Contents of your test script
No response
Relevant log output
The text was updated successfully, but these errors were encountered: