Skip to content

Many errors with pysnmplib and Python 3.12.3 #47

@ItsJustMeK

Description

@ItsJustMeK

Hi,
Just started your book, Pg 64 just starting the Python code for the pysnmplib and I am getting lots of errors, trying to play wack a mole with them, but not getting there, examples:
network-observability-lab/lib/python3.12/site-packages/pysnmp/smi/builder.py", line 18, in
PY_MAGIC_NUMBER = importlib.util.MAGIC_NUMBER

next:

network-observability-lab/lib/python3.12/site-packages/pysnmp/carrier/asyncore/base.py", line 9, in
import asyncore
ModuleNotFoundError: No module named 'asyncore'

I'm sure there will be more. Any suggestions? Running Ubuntu LTS 24.04.2 running on a local VM.

Batteries included loaded and working properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions