Katsu
Katsu

Reputation: 8925

Unable to export Jupyter notebook to Python Script in Azure ML Studio

I am stuck on step 5 in this Azure tutorial: enter image description here

Whenever I try to export to Python, I get a little message that says "Python export started, please wait..." that shows up for about 2 milliseconds, then disappears, with no popup or error message on my jupyter notebook. Has anyone else encountered this issue before? Please help!

Upvotes: 0

Views: 744

Answers (1)

Aswin
Aswin

Reputation: 7166

I reproduced the same using azure machine learning studio and when tried to export as .py python script file, got the same popup Python export started.please wait... and file is not exported.

enter image description here

You can use VS code to export it to .py file as fallback method.

  • In Azure ML studio notebook, click Edit in VS Code.

enter image description here

  • Once .ipynb file is opened in Visual Studio, open command palette (Ctrl+Shift+P). Type Export to Python Script.

enter image description here

  • .py script file is opened in the new tab. Click File-> save and save the file in the same location with file name train-classification-model.py. enter image description here

  • You can view the saved .py file in azure machine learning studio notebook file path also. Open the file in studio.

enter image description here

Upvotes: 1

Related Questions