It's in the bin:linux-perf package now, but needs a fix. Quick hack (or maybe the real fix):
--- /usr/lib/python3/dist-packages/perf/__init__.py 2025-03-19 20:34:33.601056393 +0000 +++ __init__.py 2025-03-19 20:34:27.999982517 +0000 @@ -18,7 +18,7 @@ # Load the actual python-perf module for the running kernel _kernel_version = os.uname().release -_perf_dir = f"/usr/lib/linux-tools/{_kernel_version}/lib" +_perf_dir = f"/usr/lib/" if not os.path.exists(_perf_dir): raise KernelNotFoundError() _perf_lib = glob(os.path.join(_perf_dir, "perf.*.so"))[-1] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2103653 Title: python perf module missing in plucky's kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2103653/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs