sagemaker-run-notebook icon indicating copy to clipboard operation
sagemaker-run-notebook copied to clipboard

Failure on Lifecycle Configuration (notebook-instance)

Open ammarsaf opened this issue 1 year ago • 0 comments

I have tried to use your config lifecycle script on Sagemaker instance from https://github.com/aws-samples/sagemaker-run-notebook/blob/master/scripts/lifecycle-configuration/notebook-instances/start.sh but in turned out failed with the following error from CloudWatch:

jupyter_server_fileid | error adding extension (enabled: True): The module 'jupyter_server_fileid' could not be found (No module named 'jsonschema.protocols'). Are you sure the extension is installed?
    Traceback (most recent call last):

ServerApp] jupyter_server_terminals | error adding extension (enabled: True): The module 'jupyter_server_terminals' could not be found (No module named 'jupyter_server_terminals'). Are you sure the extension is installed?

ExtensionModuleNotFound: The module 'jupyter_server_terminals' could not be found (No module named 'jupyter_server_terminals'). Are you sure the extension is installed?

The instance is stay in a pending mood and not failed. How to fix this? @aws-samples

ammarsaf avatar Apr 10 '23 03:04 ammarsaf