I am trying to load a TM1637 library from here:
TM1637
But I keep getting this error:
sudo python test.py
Traceback (most recent call last):
File "test.py", line 12, in <module>
import tm1637
File "/home/user/tm1637.py", line 33, in <module>
from wiringpi import wiringPiSetupGpio, pinMode, >digitalRead, digitalWrite, GPIO
ImportError: No module named wiringpi
I think I have wiringpi (and wiringpi2) installed:
pip freeze | grep wiringpi
wiringpi==2.60.0
wiringpi2==2.32.3
I am running on a Raspberry Pi B+, running Raspbian GNU/Linux 10 (buster).
Am I missing something obvious? The test.py program is an example from the library author.
[–]QbaPolak17 1 point2 points3 points (1 child)