I have a completely fresh Kubuntu 24.04.3 LTS install and am trying to get NI-VISA installed to connect with some instruments I have via Python pyvisa. I completed the instructions here with no issue, but nothing seems to work - everything behaves like nothing is actually installed. I keep getting the same error trying to invoke pyvisa:
Python 3.12.3 (main, Nov 6 2025, 13:44:16) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyvisa
>>> rm = pyvisa.ResourceManager()
libnipalu.so failed to initialize
Verify that nipalk.ko is built and loaded.
Aborted (core dumped)
I found this post which starts with the same issue and says they resolved it by running /usr/local/natinst/nikal/binupdateNIDrivers (before having another problem). However, the directory /nikal does not exist under /usr/local/natinst at all for me. Despite this, sudo apt-get install ni-kal, claims ni-kal is already the newest version (25.8.0.49236-0+f84). Also, running sudo dkms autoinstall retuns nothing - no output at all.
Any help?