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

Bug fixed when adding multiple custom conda envs in Jupyter #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/persistent-conda-ebs/on-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ for env in $WORKING_DIR/miniconda/envs/*; do
BASENAME=$(basename "$env")
source activate "$BASENAME"
python -m ipykernel install --user --name "$BASENAME" --display-name "Custom ($BASENAME)"
conda deactivate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be consistent, update this to be source deactivate - @imohammad12

done

# Optionally, uncomment these lines to disable SageMaker-provided Conda functionality.
Expand Down