如何在 jupyter notebook 上 运行 vscode 上的 kaggle 数据集?

How to run kaggle datasets on vscode on jupyter notebook?

我正在尝试将 Kaggle 内核连接到 VSCode 上的 Jupyter notebook。我已经为其中一个项目下载了 Kaggle API,并通过以下方式在 Jupiter notebook 中安装了 Kaggle:

> `!pip install kaggle`

但在 运行 之后:

> import opendatasets

> opendatasets.download('https://www.kaggle.com/c/rossmann-store-sales')

从 Kaggle 检索数据集时导致用户名输入循环并给出如下输出:

Please provide your Kaggle credentials to download this dataset. Learn more: http://kaggle-creds
Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your Kaggle username: Your

Screessnhot of error

我无法输入。谁能帮忙!

截图中有这样的提示吗?

如果我按 ESC 我会得到像你一样的输出。