PyVisapy后端

2024-09-23 16:19:05 发布

您现在位置:Python中文网/ 问答频道 /正文

我在raspberry pi2上安装pyvisa py pn时出现了一个错误,它是

ImportError: cannot import name rname

在我运行命令之后

rm = visa.ResourceManager('@py')

以下是中断者给出的信息:

^{pr2}$

另外,以下是python-m visa info返回的内容:

Machine Details:
Platform ID: Linux-3.18.11-v7+-armv7l-with-debian-7.8
Processor: 
Python:
Implementation: CPython
Executable: /usr/bin/python
Version: 2.7.3
Compiler: GCC 4.6.3
Bits: 32bit
Build: Mar 18 2014 05:13:23 (#default)
Unicode: UCS4
PyVISA Version: 1.6.3
Backends:
ni:
Version: 1.6.3 (bundled with PyVISA)
Binary library: Not found
py:
Could not instantiate backend
-> cannot import name rname
sim:
Does not provide debug info

有人能帮我解决吗?非常感谢


Tags: namepyimportinfoversionwithvisanot