镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
Vincent Roseberry edited this page Feb 5, 2026 · 7 revisions

Notebook with internet access

To install a new package in your Kaggle notebook, add a single cell at the beginning of your notebook with just this line:

!pip install my-package

Note: Internet access must be enabled for your notebook.

For this to work, you have to make sure that internet access is enabled for your notebook.

Here's an example notebook that uses this approach: https://www.kaggle.com/alexvergaragil/playing-with-radioactive-databases

Code competition notebook (internet is disabled).

You can use the Package Manager feature.

Clone this wiki locally