用Python获取雅虎财经中的数据,报错URLError: <urlopen error [Errno 11001] getaddrinfo failed>
import matplotlib.finance as finance
date1 = (2017, 1, 1)
date2 = (2017,12,31)
price = finance.quotes_historical_yahoo_ochl('^GDAXI', date1, date2)
晕,完全按书上的输入了为什么会报错