Azure ML Widgets not working when connecting to Azure ML Notebooks from VS Code
See original GitHub issueEnvironment data
- VS Code version: 1.55.2
- Jupyter Extension version (available under the Extensions sidebar): v2021.5.745244803
- Python Extension version (available under the Extensions sidebar): v2021.4.765268190
- OS (Windows | Mac | Linux distro) and version: Windows 20H2
- Python and/or Anaconda version: 3.6
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): XXX
- Jupyter server running: Local | Remote | N/A: remote
Expected behaviour
Widget should be displayed.
Actual behaviour
Output: No renderer could be found for MIME type: application/aml.mini.widget.v1.
Steps to reproduce:
Run the following, replacing source directory and compute target as necessary:
from azureml.widgets import RunDetails
ws = Workspace.from_config()
experiment = Experiment(workspace=ws, name='day1-experiment-hello')
config = ScriptRunConfig(source_directory='./code/hello', script='hello.py', compute_target='TestComputeForDon')
run = experiment.submit(config)
RunDetails(run).show()
Issue Analytics
- State:
- Created 2 years ago
- Comments:20 (12 by maintainers)
Top Results From Across the Web
How to test Azure AML Widgets · microsoft/vscode-jupyter Wiki
If testing against Azure ML Remote Compute, then launch VS Code from the compute instance, create a notebook as documented above.
Read more >Azure Machine Learning in VS Code
The Azure Machine Learning VS Code extension makes it easy to connect to and access resources in compute instances in real time. For...
Read more >Run Jupyter notebooks in your workspace - Azure
Learn how run a Jupyter notebook without leaving your workspace in Azure Machine Learning studio.
Read more >Azure ml notebook does not show widgets from ipywidgets
Azure ml notebook does not show widgets from ipywidgets. ipywidgets seems to work fine for the simplest usages, i.e. just using a slider....
Read more >azureml.widgets.RunDetails class - Azure Machine Learning ...
Remarks · Verify that the azure-widgets package is installed and if not, install it. shell. Copy. sudo -i pip install azureml-widgets · Install...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I did run this notebook in classic Jupyter (accessed through AML to use my compute instance) and this is the output after running there. Is there something else you’d like me to try running?
Problem was, the output renderer selected was
text/plain
, vs code rememnbers this, hence widgets were never rendered.