Skip to content

Commit cf1bbea

Browse files
Temp fix for "cannot import name Callable from traitlets"
1 parent a00cf60 commit cf1bbea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sagemaker_ssh_helper/sm-ssh-ide

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ elif [[ "$1" == "start" ]]; then
160160

161161
"$SM_STUDIO_PYTHON_PREFIX"/bin/pip install -q notebook
162162

163+
# TODO: remote the below temp fix for "cannot import name 'Callable' from 'traitlets" when starting notebook
164+
"$SM_STUDIO_PYTHON_PREFIX"/bin/pip install --force-reinstall traitlets
165+
163166
"$SM_STUDIO_PYTHON" -m jupyter notebook --no-browser --port=8889 --ip=127.0.0.1 --allow-root \
164167
>/tmp/jupyter-notebook.log 2>&1 &
165168

0 commit comments

Comments
 (0)