1

我删除了我的 python 2.7 并安装了新的 3.X 版本(conda)。然后 urlopen只是没有工作。

from urllib.request import urlopen
html = urlopen("http://www.google.com/")

返回 URLError: urlopen 错误 [Errno 10093] getaddrinfo 失败。我想做的是urlretrieve('http://cfe.cboe.com/Publish/ScheduledTask/MktData/datahouse/CFE_U17_VX.csv')

但它返回相同的错误。csv 文件可以很容易地从 chrome url 下载。请帮忙!

4

0 回答 0