在 Kaggle 中下载文件会出现 - 'failed: Temporary failure in name resolution' 错误

Downloading files in Kaggle gives - 'failed: Temporary failure in name resolution' error

我尝试从 Kaggle 上的 github 下载脚本 -

!rm -rf utils.py
!wget raw.githubusercontent.com/sevenfx/fastai_audio/master/notebooks/utils.py

我收到这个错误 -

Resolving raw.githubusercontent.com (raw.githubusercontent.com)... failed: Temporary failure in name resolution. wget: unable to resolve host address ‘raw.githubusercontent.com’

Kaggle 中是否有任何必须完成的设置,或者一般来说这有什么问题?

那是 seen before with a kaggle kernel

For anyone in the future who has the same issue in a Kaggle kernel, you need to turn on internet and gpu.

On the right side of the kernels window, there should be a settings section:

You’re gonna want GPU turned on and internet connection turned on.