question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jupyter fails to activate conda environment on remote SSH

See original GitHub issue

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

Task: I am using VS Code to connect to a remote machine and run a notebook.

Unexpected behaviour:

Since last week, I can no longer run a notebook from my local machine A as jupyter fails to activate the conda environment. I get the following error:

error 9:49:19.65: Execing shell command, Class name = g, completed in 273ms, has a falsy return value, Arg 1: "~/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/pythonFiles/printEnvVariables.py", Arg 2: "" [Error: Command failed: conda activate mask2former && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /usr/wiss/**REDACTED**/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/pythonFiles/printEnvVariables.py

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

    $ conda init <SHELL_NAME>

Currently supported shells are:
  - bash
  - fish
  - tcsh
  - xonsh
  - zsh
  - powershell

See 'conda init --help' for more information and options.

IMPORTANT: You may need to close and restart your shell after running 'conda init'.



	at ChildProcess.exithandler (node:child_process:397:12)
	at ChildProcess.emit (node:events:390:28)
	at maybeClose (node:internal/child_process:1064:16)
	at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)] {
  killed: false,
  code: 1,
  signal: null,
  cmd: "conda activate mask2former && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /usr/wiss/**REDACTED**/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/pythonFiles/printEnvVariables.py"
}

Now, my conda setup did not change last week, and I am still able to use conda and activate the correct environment from a terminal. Moreover, conda activate runs fine within the terminal of vs code, too. I still tried to rerun conda init but nothing changed.

What is even more unexpected, when I use my machine B to connect to the same remote machine, same folder and same notebook, everything works fine as expected. I don’t get any such errors.

My expectation would be that since I am connecting to the same remote machine, the behaviour should be consistent. Do you have any idea on what’s going on?

VS Code Version

1.70.2

Jupyter Extension Version

2022.7.1102252217

Jupyter logs

MACHINE A (not working):

Visual Studio Code (1.70.2, ssh-remote, desktop)
Jupyter Extension Version: 2022.7.1102252217.
Python Extension Version: 2022.12.1.
Workspace folder /usr/wiss/**REDACTED**/storage/user/projects/exploration
info 9:49:17.250: ZMQ install verified.
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
info 9:49:17.884: LSP Notebooks experiment is enabled
info 9:49:18.248: Starting Jupyter Session id = 'startUsingPythonInterpreter:.jvsc74a57bd06acbbfe0a12ed10af3ad2931c71b77172bdae74e9e0937b8fbf27a5f90b15c32./usr/wiss/**REDACTED**/anaconda3/envs/mask2former/python./usr/wiss/**REDACTED**/anaconda3/envs/mask2former/python.-m#ipykernel_launcher' (Python Path: /usr/wiss/**REDACTED**/anaconda3/envs/mask2former, EnvType: Conda, EnvName: 'mask2former', Version: 3.8.13) for '/usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb' (disableUI=true)
info 9:49:18.251: Creating raw notebook for resource '/usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb'
info 9:49:18.251: Computing working directory for resource '/usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb'
info 9:49:18.309: Starting raw kernel 'mask2former (Python 3.8.13)' for interpreter /usr/wiss/**REDACTED**/anaconda3/envs/mask2former/bin/python
info 9:49:18.317: Kernel launching with ports 9000,9001,9002,9003,9004. Start port is 9000
info 9:49:18.773: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
info 9:49:18.847: Preferred Remote kernel for /usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb is undefined
info 9:49:18.847: Find preferred kernel for /usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb with metadata {"kernelspec":{"display_name":"Python 3.8.13 ('mask2former')","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.8.13"},"orig_nbformat":4,"vscode":{"interpreter":{"hash":"6acbbfe0a12ed10af3ad2931c71b77172bdae74e9e0937b8fbf27a5f90b15c32"}}} & preferred interpreter /usr/wiss/**REDACTED**/anaconda3/envs/mask2former/bin/python
info 9:49:18.860: Preferred Remote kernel for /usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb is undefined
info 9:49:18.860: Preferred kernel .jvsc74a57bd06acbbfe0a12ed10af3ad2931c71b77172bdae74e9e0937b8fbf27a5f90b15c32./usr/wiss/**REDACTED**/anaconda3/envs/mask2former/python./usr/wiss/**REDACTED**/anaconda3/envs/mask2former/python.-m#ipykernel_launcher is exact match or top match for non python kernels, (false, [object Object], true, false)
info 9:49:18.862: PreferredConnection: .jvsc74a57bd06acbbfe0a12ed10af3ad2931c71b77172bdae74e9e0937b8fbf27a5f90b15c32./usr/wiss/**REDACTED**/anaconda3/envs/mask2former/python./usr/wiss/**REDACTED**/anaconda3/envs/mask2former/python.-m#ipykernel_launcher found for NotebookDocument: /usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb
error 9:49:19.61: Failed to get activated environment variables ourselves [Error: Command failed: conda activate mask2former && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /usr/wiss/**REDACTED**/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/pythonFiles/printEnvVariables.py

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

    $ conda init <SHELL_NAME>

Currently supported shells are:
  - bash
  - fish
  - tcsh
  - xonsh
  - zsh
  - powershell

See 'conda init --help' for more information and options.

IMPORTANT: You may need to close and restart your shell after running 'conda init'.



	at ChildProcess.exithandler (node:child_process:397:12)
	at ChildProcess.emit (node:events:390:28)
	at maybeClose (node:internal/child_process:1064:16)
	at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)] {
  killed: false,
  code: 1,
  signal: null,
  cmd: "conda activate mask2former && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /usr/wiss/**REDACTED**/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/pythonFiles/printEnvVariables.py"
}
error 9:49:19.65: Execing shell command, Class name = g, completed in 273ms, has a falsy return value, Arg 1: "~/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/pythonFiles/printEnvVariables.py", Arg 2: "" [Error: Command failed: conda activate mask2former && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /usr/wiss/**REDACTED**/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/pythonFiles/printEnvVariables.py

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

    $ conda init <SHELL_NAME>

Currently supported shells are:
  - bash
  - fish
  - tcsh
  - xonsh
  - zsh
  - powershell

See 'conda init --help' for more information and options.

IMPORTANT: You may need to close and restart your shell after running 'conda init'.



	at ChildProcess.exithandler (node:child_process:397:12)
	at ChildProcess.emit (node:events:390:28)
	at maybeClose (node:internal/child_process:1064:16)
	at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)] {
  killed: false,
  code: 1,
  signal: null,
  cmd: "conda activate mask2former && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /usr/wiss/**REDACTED**/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/pythonFiles/printEnvVariables.py"
}
info 9:49:20.471: Process Execution: > ~/anaconda3/envs/mask2former/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
> ~/anaconda3/envs/mask2former/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
info 9:49:20.505: Process Execution: > ~/anaconda3/envs/mask2former/bin/python -m pip list
> ~/anaconda3/envs/mask2former/bin/python -m pip list
info 9:49:20.538: Process Execution: > ~/anaconda3/envs/mask2former/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"b4b6ba86-9bb7-477d-92df-ffc8332a8b3b" --shell=9002 --transport="tcp" --iopub=9004 --f=/usr/wiss/**REDACTED**/.local/share/jupyter/runtime/kernel-v2-2217U7M69YALJ4Zz.json
> ~/anaconda3/envs/mask2former/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"b4b6ba86-9bb7-477d-92df-ffc8332a8b3b" --shell=9002 --transport="tcp" --iopub=9004 --f=/usr/wiss/**REDACTED**/.local/share/jupyter/runtime/kernel-v2-2217U7M69YALJ4Zz.json
info 9:49:20.538: Process Execution: cwd: ~/storage/user/projects/exploration/Mask2Former
cwd: ~/storage/user/projects/exploration/Mask2Former
info 9:49:20.571: Preferred Remote kernel for /usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb is undefined
info 9:49:20.710: ipykernel version 6.13.0 for /usr/wiss/**REDACTED**/anaconda3/envs/mask2former/bin/python
info 9:49:20.711: ipykernel location ~/anaconda3/envs/mask2former/lib/python3.8/site-packages/ipykernel/__init__.py for /usr/wiss/**REDACTED**/anaconda3/envs/mask2former/bin/python
warn 9:49:21.312: StdErr from Kernel Process /usr/wiss/**REDACTED**/anaconda3/envs/mask2former/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
/usr/wiss/**REDACTED**/anaconda3/envs/mask2former/lib/python3.8/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'b4b6ba86-9bb7-477d-92df-ffc8332a8b3b' instead of 'b"b4b6ba86-9bb7-477d-92df-ffc8332a8b3b"'.
  warn(

info 9:49:21.321: Kernel Output: NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049


To connect another client to this kernel, use:
    --existing kernel-v2-2217U7M69YALJ4Zz.json

info 9:49:21.447: Started kernel mask2former (Python 3.8.13)., (Raw session started and connected)
info 9:49:21.448: Finished connecting 0ac86817-b54f-4f0c-bb17-637c74cb8ee4
info 9:49:21.452: UpdateWorkingDirectoryAndPath in Kernel
info 9:49:21.453: Executing silently Code (idle) = import os\nimport sys\n%cd "//usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former"\nif os.g
info 9:49:21.641: Executing silently Code (completed) = import os\nimport sys\n%cd "//usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former"\nif os.g with 1 output(s)
info 9:49:21.642: Waiting for idle on (kernel): f5ebe927-7634-41f4-be87-7405386d25cd -> idle
info 9:49:21.642: Finished waiting for idle on (kernel): f5ebe927-7634-41f4-be87-7405386d25cd -> idle
info 9:49:21.669: Process Execution: > ~/anaconda3/envs/mask2former/bin/python ~/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/pythonFiles/printJupyterDataDir.py
> ~/anaconda3/envs/mask2former/bin/python ~/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/pythonFiles/printJupyterDataDir.py
info 9:49:21.704: Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
info 9:49:21.712: Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
info 9:49:21.776: Widget Message: data-base-url set to https://vscode-remote%2Bssh-002dremote-002b**REDACTED**.vscode-resource.vscode-cdn.net/usr/wiss/**REDACTED**/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/tmp/scripts/c2b42bb16ffc4eb2f4d810c0dec20a368544a0e3a21a175345556021443fcf7c/jupyter

MACHINE B (working):

Visual Studio Code (1.70.2, ssh-remote, desktop)
Jupyter Extension Version: 2022.7.1102252217.
Python Extension Version: 2022.12.1.
Workspace folder /usr/wiss/**REDACTED**/storage/user/projects/exploration
info 9:41:40.808: ZMQ install verified.
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
info 9:41:41.344: LSP Notebooks experiment is enabled
info 9:41:41.595: Starting Jupyter Session id = 'startUsingPythonInterpreter:.jvsc74a57bd06acbbfe0a12ed10af3ad2931c71b77172bdae74e9e0937b8fbf27a5f90b15c32./usr/wiss/**REDACTED**/anaconda3/envs/mask2former/python./usr/wiss/**REDACTED**/anaconda3/envs/mask2former/python.-m#ipykernel_launcher' (Python Path: /usr/wiss/**REDACTED**/anaconda3/envs/mask2former, EnvType: Conda, EnvName: 'mask2former', Version: 3.8.13) for '/usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb' (disableUI=true)
info 9:41:41.600: Creating raw notebook for resource '/usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb'
info 9:41:41.600: Computing working directory for resource '/usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb'
info 9:41:41.668: Starting raw kernel 'mask2former (Python 3.8.13)' for interpreter /usr/wiss/**REDACTED**/anaconda3/envs/mask2former/bin/python
info 9:41:41.676: Kernel launching with ports 9000,9001,9002,9003,9004. Start port is 9000
info 9:41:42.303: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
info 9:41:42.362: Preferred Remote kernel for /usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb is undefined
info 9:41:42.362: Find preferred kernel for /usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb with metadata {"kernelspec":{"display_name":"Python 3.8.13 ('mask2former')","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.8.13"},"orig_nbformat":4,"vscode":{"interpreter":{"hash":"6acbbfe0a12ed10af3ad2931c71b77172bdae74e9e0937b8fbf27a5f90b15c32"}}} & preferred interpreter /usr/wiss/**REDACTED**/anaconda3/envs/mask2former/bin/python
info 9:41:42.377: Preferred Remote kernel for /usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb is undefined
info 9:41:42.377: Preferred kernel .jvsc74a57bd06acbbfe0a12ed10af3ad2931c71b77172bdae74e9e0937b8fbf27a5f90b15c32./usr/wiss/**REDACTED**/anaconda3/envs/mask2former/python./usr/wiss/**REDACTED**/anaconda3/envs/mask2former/python.-m#ipykernel_launcher is exact match or top match for non python kernels, (false, [object Object], true, false)
info 9:41:42.378: PreferredConnection: .jvsc74a57bd06acbbfe0a12ed10af3ad2931c71b77172bdae74e9e0937b8fbf27a5f90b15c32./usr/wiss/**REDACTED**/anaconda3/envs/mask2former/python./usr/wiss/**REDACTED**/anaconda3/envs/mask2former/python.-m#ipykernel_launcher found for NotebookDocument: /usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb
info 9:41:42.860: Process Execution: > ~/anaconda3/envs/mask2former/bin/python -m pip list
> ~/anaconda3/envs/mask2former/bin/python -m pip list
info 9:41:42.884: Process Execution: > ~/anaconda3/envs/mask2former/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
> ~/anaconda3/envs/mask2former/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
info 9:41:42.910: Process Execution: > ~/anaconda3/envs/mask2former/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"35de8696-47e2-47e8-bfd4-b77f15dfb80f" --shell=9002 --transport="tcp" --iopub=9004 --f=/usr/wiss/**REDACTED**/.local/share/jupyter/runtime/kernel-v2-4191862eoYPzzfdPrG0.json
> ~/anaconda3/envs/mask2former/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"35de8696-47e2-47e8-bfd4-b77f15dfb80f" --shell=9002 --transport="tcp" --iopub=9004 --f=/usr/wiss/**REDACTED**/.local/share/jupyter/runtime/kernel-v2-4191862eoYPzzfdPrG0.json
info 9:41:42.910: Process Execution: cwd: ~/storage/user/projects/exploration/Mask2Former
cwd: ~/storage/user/projects/exploration/Mask2Former
info 9:41:43.197: ipykernel version 6.13.0 for /usr/wiss/**REDACTED**/anaconda3/envs/mask2former/bin/python
info 9:41:43.198: ipykernel location ~/anaconda3/envs/mask2former/lib/python3.8/site-packages/ipykernel/__init__.py for /usr/wiss/**REDACTED**/anaconda3/envs/mask2former/bin/python
warn 9:41:43.858: StdErr from Kernel Process /usr/wiss/**REDACTED**/anaconda3/envs/mask2former/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
/usr/wiss/**REDACTED**/anaconda3/envs/mask2former/lib/python3.8/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '35de8696-47e2-47e8-bfd4-b77f15dfb80f' instead of 'b"35de8696-47e2-47e8-bfd4-b77f15dfb80f"'.
  warn(

info 9:41:43.865: Kernel Output: NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049


To connect another client to this kernel, use:
    --existing kernel-v2-4191862eoYPzzfdPrG0.json

info 9:41:43.955: Preferred Remote kernel for /usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb is undefined
info 9:41:44.133: Started kernel mask2former (Python 3.8.13)., (Raw session started and connected)
info 9:41:44.135: Finished connecting 5b812758-3cc3-4493-8db0-12d9cbd0450e
info 9:41:44.138: UpdateWorkingDirectoryAndPath in Kernel
info 9:41:44.139: Executing silently Code (idle) = import os\nimport sys\n%cd "//usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former"\nif os.g
info 9:41:44.328: Executing silently Code (completed) = import os\nimport sys\n%cd "//usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former"\nif os.g with 1 output(s)
info 9:41:44.329: Waiting for idle on (kernel): c5a1a51c-0752-47c7-8ffe-ba5b7d260447 -> idle
info 9:41:44.329: Finished waiting for idle on (kernel): c5a1a51c-0752-47c7-8ffe-ba5b7d260447 -> idle
info 9:41:44.351: Process Execution: > ~/anaconda3/envs/mask2former/bin/python ~/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/pythonFiles/printJupyterDataDir.py
> ~/anaconda3/envs/mask2former/bin/python ~/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/pythonFiles/printJupyterDataDir.py
info 9:41:44.427: Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
info 9:41:44.427: Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
info 9:41:44.497: Widget Message: data-base-url set to https://vscode-remote%2Bssh-002dremote-002b**REDACTED**.vscode-resource.vscode-cdn.net/usr/wiss/**REDACTED**/.vscode-server/extensions/ms-toolsai.jupyter-2022.7.1102252217/tmp/scripts/c2b42bb16ffc4eb2f4d810c0dec20a368544a0e3a21a175345556021443fcf7c/jupyter
info 9:42:48.972: Execute Cell 0 /usr/wiss/**REDACTED**/storage/user/projects/exploration/Mask2Former/temporal_consistency_v2.ipynb
info 9:42:51.304: Cell 0 executed with state Success

Coding Language and Runtime Version

No response

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Remote

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
DonJayamannecommented, Aug 31, 2022

@Sebastian-Belkner Once I have something I’ll ping you with a potential fix or more logging to try and get this resolved. Please follow this issue for a fix for the problem you raised here https://github.com/microsoft/vscode-jupyter/issues/10691

0reactions
DonJayamannecommented, Oct 18, 2022

I’m glad it’s resolved and thanks for getting back,

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use Jupyter notebooks in a conda environment?
Most common error message seems to be: after installing a package XYZ in a conda environment my-env one can run import XYZ in...
Read more >
Remote Jupyter Notebook Setup - Navid Rezaei
You just need to set up your environment, say using conda. Go to the terminal inside VS Code. Type the jupyter notebook command...
Read more >
Support conda with remote interpreters : PY-35978 - YouTrack
The code runs just like running on the remote server using SSH WITHOUT activating the conda environment (not running successfully).
Read more >
How to activate a remote Python conda environment with ...
conda seems to not work with remote environments link. You mind have some luck with conda and lsp, or even the default python-mode...
Read more >
SSH server connection tricks
Current conda install: platform : linux-64 conda version : 4.3.16 conda is private : False conda-env version : 4.3.16 conda-build version : 2.1.10...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found