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