I verified my requirements.text file in my github repository also contains the yfinance module. The python script runs locally without issue. What am I missing?
Prior to import yfinance as yf, can you add the following:
import appdirs as ad
ad.user_cache_dir = lambda *args: "/tmp"
It seems that it could not write to the mentioned cache in the error traceback. As per the solution provided at a related GitHub issues post as shown above, the app is now displaying properly.