📖

Kaggleで Do you want to continue? [Y/n]が表示されたときの対応

2023/07/23に公開

Kaggleでライブラリをインストールしようとした際に、追加のディスクスペースを使用するかどうか確認するために以下のメッセージがでる場合があります。

When attempting to install a library on Kaggle, you may encounter the following message to confirm whether you want to use additional disk space:

After this operation, 219 MB of additional disk space will be used.
Do you want to continue? [Y/n]

"Y"を入力して続行するか、"n"を入力してキャンセルするかを選択する必要がありますが、kaggleでは、対話型入力が無効になっていることがあります。

その場合、"Y"を直接入力することはできません。

そこで、どうしたら良いのか?という話です。

対応は簡単で、赤く丸で囲んだ再生中のマークをクリックすれば、Yとして認識してくれます。

You need to choose whether to proceed by entering "Y" or cancel by entering "n". However, in Kaggle, interactive input is sometimes disabled, so you can't directly input "Y".

クリックした後、赤線のように、[Y/n]の後に、^Cとつき、コードが進んでいます。

After clicking, you will see a "^C" after the "[Y/n]", indicating that the code is proceeding.


Discussion