You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run the python program in the image but it is failing. Kernel header is not found :
root@46a12dcd4efd:~# python3 hello_world.py
modprobe: FATAL: Module kheaders not found in directory /lib/modules/5.10.76-linuxkit
Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module)
chdir(/lib/modules/5.10.76-linuxkit/build): No such file or directory
Traceback (most recent call last):
File "hello_world.py", line 14, in <module>
b = BPF(text=prog)
File "/usr/lib/python3/dist-packages/bcc/__init__.py", line 347, in __init__
raise Exception("Failed to compile BPF module %s" % (src_file or "<text>"))
Exception: Failed to compile BPF module <text>
The text was updated successfully, but these errors were encountered:
I run the python program in the image but it is failing. Kernel header is not found :
The text was updated successfully, but these errors were encountered: