PyVisa won't find my GIPB port
<p>I tried downloading the PyVisa module with the NI Visa libraries to find the GPIB port and address of the Agilent E4350B but no matter what I try it won't find it. I have a short code:</p>

<pre><code>import visa
rm = visa.ResourceManager()
print(rm.open_resource())
</code></pre>

<p>But all it prints out is </p>

<pre><code>('ASRL1::INSTR', 'ASRL2::INSTR')
</code></pre>

<p>I try to just open it anyways with the address I have it set at:</p>

<pre><code>rm.open_resource('GPIB0::5::INSTR')
</code></pre>

<p>But it gives me this:</p>

<pre><code>pyvisa.errors.VisaIOError: VI_ERROR_LIBRARY_NFOUND (-1073807202): A code library required by VISA could not be located or loaded.
</code></pre>

<p>I am running the same bit versions of Python and PyVISA. Can anyone tell me why it's not finding it?</p>