PyVISA started as a wrapper for the NI-VISA library and therefore you need to install the National Instruments VISA library in your system. This works most of the time, for most people. But sometimes ...
When trying to run pyvisa code to connect to GPIB devices, I encounter the following error: pyvisa.errors.VisaIOError: VI_ERROR_LIBRARY_NFOUND (-1073807202): A code ...