python debug 出错行:from urllib.request import urlretrieve 报错:No module named ‘request’ 解决方法:版本问题,改成 from urllib import urlretrieve即可 出错行:with tarf.extractfile(dataset) as f 报错:AttributeError: exit 解决方法:改成f = tarf.extractfile(dataset)即可