On 09/11/2020 11:09, John Payne wrote:
> I am setting up pywws on a new Raspberry Pi 4 (Buster). I used to run it
> on a Pi 2 or 3 but had to decomission it for various reasons last year.
> I've followed the install/dependency steps using pip install, and
> downloading from git (after uninistalling) but when I try 'pywws
> testweatherstation' I get a failure - I'm sure it's something simple as
> I had it working for several years:
> "/usr/local/lib/python2.7/dist-packages/pywws-20.10.0-py2.7.egg/pywws/device_libusb1.py",
> line 76, in __init__
> self.context = usb1.USBContext()
> AttributeError: 'module' object has no attribute 'USBContext'
>
> Any ideas?
Most likely an incompatible version of python-libusb1. What version is
installed on your Pi?
--
Jim Easterbrook <
http://www.jim-easterbrook.me.uk/>