<p>我使用Windows10和Python2.7。在</p>
<p>当我使用<code>visa</code>模块的<code>get_instruments_list()</code>函数时,出现了一个错误。在</p>
<pre><code>insts = [inst for inst in visa.get_instruments_list() if 'GPIB' in inst]
</code></pre>
<p>错误:</p>
<blockquote>
<pre><code>insts = [inst for inst in visa.get_instruments_list() if 'GPIB' in inst]
AttributeError: 'module' object has no attribute 'get_instruments_list'
</code></pre>
</blockquote>