pip install <package_name>or
apt install <library>, either in the terminal or with the
!prefix in a notebook. This will immediately install the library for you to use. Note that when the hardware restarts, the environment will revert back to the default state.
init.ipynbnotebook which can be accessed from the environment tab. By default, it installs packages from
./requirements.txt. Read more.
Dockerfilefile in the root of your project. Deepnote takes care of building and hosting the Docker image. A common use-case is to extend one of the above mentioned supported images by specifying the
FROMdirective at the beginning of the file (such as
FROM deepnote/python:3.7) and then adding what you need. For example, a Dockerfile that will install the dependencies needed for OpenCV would look like:
linux/amd64platform. For example, if you are running M1 mac, you should build the image with
pip, configured to install packages into a location visible to