
Due to the number of packages preinstalled, finding a set of packages thatĪre guaranteed to be compatible is difficult. The Deep Learning AMI comes with many conda environments and many packages SageMaker notebooks support the following package installation tools:ĭue to how Conda resolves the dependency graph, installing packages from conda-forgeĬan take significantly longer (in the worst cases, upwards of 10 minutes). The on-start script installs anyĬustom environments that you create as Jupyter kernels, so that they appear in theĭropdown list in the Jupyter New menu. Notebook instance, so you can ensure that your custom environment has specific SageMaker does not update these libraries when you stop and restart the You can adapt the script to create custom Script installs the ipykernel library to create customĪs Jupyter kernels, then uses pip install and conda

Show the best practice for installing environments and kernels on a notebook instance. Notebook Instance Lifecycle Config Samples. Repository that contains sample lifecycle configuration scripts at SageMaker

Lifecycle configurations, see Customize a Notebook Instance Using a For more information about using notebook instance ( on-create) and a script that runs each time you restart the notebook To do that, use a lifecycleĬonfiguration that includes both a script that runs when you create the notebook instance ThisĮnsures that they persist when you stop and restart the notebook instance, and that anyĮxternal libraries you install are not updated by SageMaker. Install custom environments and kernels on the notebook instance's Amazon EBS volume. For information about conda environments, see Managing The different Jupyter kernels in Amazon SageMaker notebook instances are separate condaĮnvironments.

You can also install your own environments that contain your choice Sample-notebooks folder, are refreshed when you stop and start a These environments, along with all files in the TheseĮnvironments contain Jupyter kernels and Python packages including: scikit, Pandas,

Amazon SageMaker notebook instances come with multiple environments already installed.
