Hello @andrewback.
I solved that error adapting the import statements to python 3.6
I’ve been able to run the program but I faced a bigger issue with the pyusb package.
FYI, these are the changes needed: https://github.com/mariocannistra/pyLMS7002M
Ever since I don’t have much time to solve also the issue in pyusb, I will check if i can have python 2.7 on the same machine. This is the error message I got, probably some difference in pyusb for 3.6 vs 2.7 (more complete/mantained?):
Searching for LimeSDR... Traceback (most recent call last):
File "measureVNA.py", line 145, in <module>
limeSDR = LimeSDR()
File "C:\ProgramData\Anaconda3\lib\site-packages\pylms7002m-1.2.0-py3.6.egg\pyLMS7002M\LimeSDR.py", line 75, in __init__
File "C:\ProgramData\Anaconda3\lib\site-packages\pylms7002m-1.2.0-py3.6.egg\pyLMS7002M\LimeSDR.py", line 269, in getInfo
File "C:\ProgramData\Anaconda3\lib\site-packages\pylms7002m-1.2.0-py3.6.egg\pyLMS7002M\LimeSDR.py", line 242, in sendCommand
File "C:\ProgramData\Anaconda3\lib\site-packages\pylms7002m-1.2.0-py3.6.egg\pyLMS7002M\boardUSB.py", line 66, in controlTransfer
File "C:\ProgramData\Anaconda3\lib\site-packages\pyusb-1.0.0-py3.6.egg\usb\core.py", line 1025, in ctrl_transfer
File "C:\ProgramData\Anaconda3\lib\site-packages\pyusb-1.0.0-py3.6.egg\usb\core.py", line 102, in wrapper
File "C:\ProgramData\Anaconda3\lib\site-packages\pyusb-1.0.0-py3.6.egg\usb\core.py", line 120, in managed_open
File "C:\ProgramData\Anaconda3\lib\site-packages\pyusb-1.0.0-py3.6.egg\usb\backend\libusb1.py", line 786, in open_device
File "C:\ProgramData\Anaconda3\lib\site-packages\pyusb-1.0.0-py3.6.egg\usb\backend\libusb1.py", line 643, in __init__
File "C:\ProgramData\Anaconda3\lib\site-packages\pyusb-1.0.0-py3.6.egg\usb\backend\libusb1.py", line 593, in _check
NotImplementedError: Operation not supported or unimplemented on this platform