From 6c75b6d21fadc232230017ba91f14b527defc838 Mon Sep 17 00:00:00 2001 From: ihiverlet <94982379+ihiverlet@users.noreply.github.com> Date: Mon, 6 Nov 2023 10:50:37 +0100 Subject: [PATCH] Set Conda base env as default in jupyter notebooks in VSCode-Python (#155) close #154 --- vscode/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vscode/Dockerfile b/vscode/Dockerfile index 17b7e7ad..1331c530 100644 --- a/vscode/Dockerfile +++ b/vscode/Dockerfile @@ -38,7 +38,7 @@ RUN curl -fsSL https://code-server.dev/install.sh | bash && \ # Create directories to store custom VSCode settings mkdir -p ${USER_CONFIG_DIR} ${REMOTE_CONFIG_DIR} && \ # Set Conda binary path in remote settings to auto activate base env when running Python code - echo "{\"python.condaPath\": \"${MAMBA_DIR}/bin/conda\"}" > ${REMOTE_CONFIG_DIR}/settings.json && \ + echo "{\"python.defaultInterpreterPath\": \"${MAMBA_DIR}/bin/conda\"}" > ${REMOTE_CONFIG_DIR}/settings.json && \ # Fix permissions chown -R ${USERNAME}:${GROUPNAME} ${HOME} && \ # Clean