We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c06006 commit 49c90afCopy full SHA for 49c90af
start-jupyter.sh
@@ -149,8 +149,9 @@ else
149
SUBCOMMAND="lab"
150
fi
151
152
+# Launch Jupyter with the correct environment variables for the kernels
153
if [[ "$LINK_ONLY" == "1" ]]; then
- exec jupyter "$SUBCOMMAND" "${ARGS[@]}" >/dev/null 2>&1
154
+ exec env "PYTHONPATH=${PYTHONPATH}" "PIP_TARGET=${PIP_TARGET}" "R_LIBS_USER=${R_LIBS_USER}" jupyter "$SUBCOMMAND" "${ARGS[@]}" >/dev/null 2>&1
155
else
- exec jupyter "$SUBCOMMAND" "${ARGS[@]}"
156
+ exec env "PYTHONPATH=${PYTHONPATH}" "PIP_TARGET=${PIP_TARGET}" "R_LIBS_USER=${R_LIBS_USER}" jupyter "$SUBCOMMAND" "${ARGS[@]}"
157
0 commit comments