-
Notifications
You must be signed in to change notification settings - Fork 955
Missing Packages
Megan Risdal edited this page Jun 25, 2020
·
6 revisions
In order to install missing packages that are available in pip to your notebook, add a single cell at the beginning of your notebook with just this line:
!pip install my-package
For this to work, you have to make sure that internet access is enabled for your notebook. It is important that you check the availability of the package in pip. Execute the cell once and after it finishes you can disable internet access if it's not required for the rest of the notebook. The rest of cells in your notebook will have access to the package from now on.
Here's an example notebook that uses this approach: https://www.kaggle.com/alexvergaragil/playing-with-radioactive-databases