Sudo does not understand your venv. Use the full path to the python interpreter if you need to use sudo to run your command.Hi guys. I'am trying to use an SSD1306 OLED display with my Pi 5. Actually I have one on a Waveshare Pioneer600 hat and one separated - neither of them works. Because no matter what I do - I always get this:I tried doing it like so:Code:
Traceback (most recent call last): File "/home/in_sympathy/Code/OLED_Stats/example.py", line 13, in <module> from board import SCL, SDA, D4ModuleNotFoundError: No module named 'board'
Am I missing something?Code:
python -m venv ${PWD##*/} source ${PWD##*/}/bin/activate pip install adafruit-blinka adafruit-circuitpython-ssd1306 sudo python example.py
Statistics: Posted by memjr — Wed Feb 28, 2024 8:49 pm