Error when trying to run EnviroPlusWeb
Hello.
After following the install steps I came to the part of running the "enviroplusweb.py". Below is the error I get when I run the python script. Are there any changes I need to make to the script? Thanks
piC@PIENVIRO:~/enviroplusweb $ sudo python3 enviroplusweb.py /home/piC/enviroplusweb/enviroplusweb.py:45: DeprecationWarning: Using "import ST7735" is deprecated. Please "import st7735" (all lowercase)! import ST7735 Traceback (most recent call last): File "/home/piC/enviroplusweb/enviroplusweb.py", line 84, in st7735 = ST7735.ST7735( File "/usr/local/lib/python3.9/dist-packages/st7735/init.py", line 175, in init self._dc = gpiodevice.get_pin(dc, "st7735-dc", OUTL) File "/usr/local/lib/python3.9/dist-packages/gpiodevice/init.py", line 138, in get_pin chip = find_chip_by_pins(pin) File "/usr/local/lib/python3.9/dist-packages/gpiodevice/errors.py", line 45, in wrapper errors.append(next(i)) File "/usr/local/lib/python3.9/dist-packages/gpiodevice/init.py", line 108, in find_chip_by_pins for pin_id in pins: TypeError: 'int' object is not iterable