Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

persistent-conda-ebs doen't allow to install more libraries? #91

@monitarb

Description

@monitarb

persistent-conda-ebs:

I successfully created a new env in my Notebook Instance called custom_persistent_python using OnCreate and OnStart sripts on /persistent-conda-ebs. I've installed some of the common libraries via the OnCreate script but, what happens if I need a new one?
I've tried:

  • Installing it in a shell (after source activate /home/ec2-user/SageMaker/custom-miniconda/miniconda/envs/custom_persistent_python).
  • Via a Notebook (!command) in the custom env.

In both cases, library seems to install ok, but it can't be used inside the Notebook (No module named xxxx), not even after Restart kernel.
I've checked the $CONDA_DEFAULT_ENV inside the Notebook and it gives JupyterSystemEnv. Does this mean I'm not inside my custom environment?
How to install new libraries, not included in the OnCreate script, that are also persistent in my new env?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions