Thank you Maximilian Gerhardt
OK I was able to fix this problem by updating:
opkg upgrade libonioni2c pyOnionI2C
opkg install python-light pyOledExp
But now there is a new error
Initializing display
Traceback (most recent call last):
File "main.py", line 21, in <module>
stockList = stocks.getStocks(config["stocks"])
File "/root/oled-stock-ticker/stocks.py", line 33, in getStocks
return readGoogleFinance(stocksRequest.data.decode('utf-8')) # returns list of stock objects
File "/root/oled-stock-ticker/stocks.py", line 22, in readGoogleFinance
data = json.loads(data) # read the json
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
I have not edited the json yet, so it should be formatted correctly.
I'm still learning how to use python, so some of this is confusing to me.
What should I try next to fix this error?