Open kaschneider opened 7 years ago
What version of pyusb do you have installed?
Here are the links from where I downloaded pyusb and libusb: http://sourceforge.net/projects/pyusb/ http://www.libusb.org/wiki/libusb-win32 So I have pyusb 1.0.0
Are you sure that you have 1.0.0 installed? What's the output of pip show pyusb
?
I have the same problem only in W7, not in Linux. pyusb version 1.0.2
I am trying to install the usbtmc package on a Raspberry Pi 3. I extracted the package and used
sudo python3 setup.py install
in the terminal window to install, and it was successful. Now I am trying to run this bit of code:import usbtmc
instr = usbtmc.Instrument(0x2a8d, 0x5c18)
print(instr.ask("*IDN?"))
I am receiving the error:
AttributeError: 'Endpoint' object has no attribute 'clear_halt'
So I think something might be wrong in the way I installed it? Any help is appreciated.