Closed JacksonBailey closed 4 months ago
Looks like ST7735 has been correctly added as a dependency here for a while, but the underlying problem must be the lack of "PIL" or python-imaging
and ST7735 appears to have some quite old installation instructions. I'll update those.
@Gadgetoid Just to be clear the module ST7735
was not added by running curl https://get.pimoroni.com/automationhat | bash
, I had to manually add it myself. Just specifying because looks like I didn't make this super clear in the first post. So even though it may be a dependency listed here curl https://get.pimoroni.com/automationhat | bash
didn't install it.
I had numerous issues along these lines when I tried to run the analog example for the hat-mini on the pi 0-w. I resolved the issues by:
pip3 install ST7735
sudo apt install python3-numpy
(note that pip3 install numpy
led to additional errors)pip3 install fonts font-roboto
raspi-config
Pimoroni/automationhat/examples/hat-mini
@ahepp thank you!
Quick summary
Going through the install tutorial and script a few things are missed
ST7735
is not installedMore detailed
Hi, after falling the instructions from the tutorial on pimoroni.com I get the error below when trying to run the example.
I'm not great with Python but it seems pretty straight forward that a package called "st7735" might be missing, so I punched it into Google and found the
ST7735
module. I get a small error below mentioning thatpython-imaging
isn't available, I have opened an issue on their code base too to be complete but I'm mentioning it here since it is part of the install process I needed to follow to get everything working. (However, in the end I did get the example working even withoutpython-imaging
or manually installingpython-pil
as it suggests may be needed.)The final error I encountered was this:
I wasn't sure what this was so I just enabled the SPI through
raspi-config
's interface options and now the example works just fine.