Turns out pillow requires zlib and jpeg. You need to install zlib-dev "opkg install zlib-dev". I was unable to find jpeg. I assume there's a way to do that but I haven't ventured far enough into this to be able to try that. You can get around the jpeg requirement by disabling it in the installation arguments.
I was using a JSON file to store data from the script. I don't know why it took me so long to do this, but I included the logging for the script in cron and an error was generated indicating that it could not find my JSON. It appears when running the Python script from the shell, it must use the working directory. I included the full path in my script and it works now.
Though, I have no idea what changed from yesterday to today...
Tip of the Day: Use the logs to help diagnose an issue. They are terribly useful.
@Rogier-Lodewijks no, u don't need patch spidev, only spi-mt7621.c source file and it's in kernel yea. After this u can add cs-gpios in device tree, and spi device in node. Spi device can be spidev if u developing spi driver and u need its API. Thank you)
Looks like your connection to Community was lost, please wait while we try to reconnect.