Join usDocsSign in

Getting started

Deepnote documentation


Custom initialization

Custom initialization

Whenever your project hardware has finished starting up, we run some initializing Python code. This code is in a notebook init.ipynb which can be accessed from the environment tab. You can put any set-up code you want us to run in there.

By default, the notebook installs the requirements from a requirements.txt file if you have one in project root directory (this is frequently the case with imported projects).

There are 2 blacklisted packages: jupyter and jedi. These are packages that interfere with the way Deepnote works and their installation would break your environment. In init.ipynb , we scan the requirements files for those packages and skip their installation if they are there.

© 2022 Deepnote. All rights reserved.