Instal yfinance
$ pip install yfinance --upgrade --no-cache-dir
BlueMoon
$ pip install yfinance --upgrade --no-cache-dir
$ conda install -c ranaroussi yfinance