When running the following code:
import yfinance as yf
df = yf.download('AAPL', start='2023-01-01', end='2023-01-31')
yfinance
is throwing the following error:
[*********************100%***********************] 1 of 1 completed
1 Failed download:
- AAPL: OperationalError('database is locked')
I tried uninstalling and reinstalling the library but it did not work.