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./work
and sym-linked to/root/work
, and for backwards compatibility also to/home/<username>/work
.
Everything outside of this folder is removed when your hardware restarts.init.ipynb
)init.ipynb
notebook which can be accessed from the environment tab. By default, it installs packages from ./requirements.txt
. Read more.Dockerfile
file 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 theFROM
directive at the beginning of the file (such asFROM 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:python
command. linux/amd64
platform. For example, if you are running M1 mac, you should build the image with --platform linux/amd64
flag.pip
, configured to install packages into a location visible to python
bash