python - 无法将 Jupyter 笔记本导出到 Azure ML Studio 中的 Python 脚本

标签 python azure jupyter-notebook

我被困在 step 5 in this Azure tutorial : enter image description here

每当我尝试导出到 Python 时,我都会收到一条小消息,显示“Python 导出已开始,请稍候...”,该消息显示约 2 毫秒,然后消失,我的 jupyter 笔记本上没有弹出窗口或错误消息。以前有其他人遇到过这个问题吗?请帮忙!

最佳答案

我使用azure机器学习工作室重现了相同的内容,当尝试导出为.py python脚本文件时,得到了相同的弹出窗口Python导出已开始。请稍候... 并且文件未导出。

enter image description here

您可以使用 VS code 将其导出到 .py 文件作为后备方法。

  • 在 Azure ML Studio 笔记本中,单击在 VS Code 中编辑

enter image description here

  • 在 Visual Studio 中打开 .ipynb 文件后,打开命令选项板 (Ctrl+Shift+P)。输入导出到 Python 脚本

enter image description here

  • .py 脚本文件在新选项卡中打开。单击"file"->“保存”,并将文件保存在同一位置,文件名为 train-classification-model.pyenter image description here

  • 您还可以在 azure 机器学习工作室笔记本文件路径中查看保存的 .py 文件。在工作室中打开文件。

enter image description here

关于python - 无法将 Jupyter 笔记本导出到 Azure ML Studio 中的 Python 脚本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75585933/

相关文章:

python - 使用 FFmpeg、python 和 opencv 显示流

python - 使用 KNN 对不均匀采样数据进行分类

regex - 如何在 Azure 逻辑应用程序中使用正则表达式 (RegEx)

python - 暂停Jupyter Notebook小部件,等待用户输入

python - ggplot 没有显示在 ipython 笔记本输出区域内,而是弹出

python - 两个整数在某些基础上是否相等?

Python:如何生成随机电话号码?

azure - 使用服务主体访问 Azure Blob 存储

asp.net-mvc - Windows Azure 服务总线通知中心仅接收部分通知

jupyter-notebook - TAB 补全在 Jupyter Notebook 中不起作用,但在 iPython 终端中正常