urlopen因getaddrinfo错误而失败

时间:2017-09-07 09:50:20

标签: python csv urllib urlretrieve

我删除了我的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')

但它返回相同的错误。 可以轻松地从chrome url下载csv文件。帮助PLZ!

0 个答案:

没有答案
相关问题