Visual Studio AI 工具 - 变量资源管理器未加载

Visual Studio Tools for AI - Variable Explorer not loading

安装了 VS Tools for AI 并尝试运行 python 深度学习脚本。 脚本 运行 在 IDE 提供的 Anaconda Interactive 上运行良好。 'Variable Explorer' 有问题。它显示错误 "Error retrieving environment list".

默认 python 环境设置为 Anaconda 4.4.0。

有什么解决方案可以通过资源管理器获取执行脚本中的主要变量吗?

(Jespar 的评论是正确的,因此将其提升为答案。)

Variable Explorer 属于 R 工具,因此只有在使用 R 时它才会起作用。

目前 Visual Studio 中没有 Python 的变量浏览器,所以这将不起作用。检查变量的两个选项是调试脚本(设置断点并使用 Watch/Locals windows),或使用交互式 window(和正常的 Jupyter-style 命令,如果您从 Python 环境 window).

中启用了 "IPython interactive mode"