InsightSoftwareConsortium / InsightSoftwareConsortium/itkwidgets
Widget not showing on VSCode with Remote SSH
- Dominant language
- Python
- Stars
- 624
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I am on MacOS and using itkwidgets 0.32.0 on VSCode 1.55.2 to work on a remote Linux Server using the Remote-SSH Extension 0.65.1. However, the itkwidget is not showing up in the interactive python console. I set the python.loggin.level to debug, but didn't see any meaningful errors or warnings in the Jupyter and Python output console.
This here is my test script:
```python
import numpy as np
from itkwidgets import view
image = np.random.rand(100,100)
view(image)
```
When running the same script locally, without the Remote Extension, the widget is working nicely. It even works, when I connecting to an existing Jupyter server running on said remote Linux Server.
It might not be correlated, but when I tried adding "jupyter.widgetScriptSources": ["jsdelivr.com", "unpkg.com"], to the remote ssh settings I got this VSCode warning when running the test script:
```
Unable to load a compatible version of the widget 'itkwidgets'. Expected behavior may be affected.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.