我能够调试 python 程序并想使用 jupyter notebooks,但我在管理扩展下看不到 Python 扩展。我有 VS Professional 2019,我看到的许多市场示例都不是我看到的。
这是我的 VS 屏幕的图片。当我搜索时,我没有找到 pylance 或 jupyter 扩展。
我查看了关于 https://code.visualstudio.com/docs/python/jupyter-support 的信息和 https://towardsdatascience.com/jupyter-notebook-in-visual-studio-code-3fc21a36fe43他们显示使用 CTRL+SHIFT+P 打开 Command Palette 并且这在 VS 中没有任何作用Professional 或 Community 2019。我也尝试了 VS Community 2019,我得到了相同的结果。
我还在 Jupyter Notebooks in Visual Studio Code 上观看了 Jeffrey Mew 的视频 和 Tyreke White 的视频 Getting Started with Python in Visual Studio Code 它与我在 VS 中看到的不匹配。
最佳答案
您可以安装 Azure Data Studio 以在其中使用 Jupyter notebook 或 Google Colab。
关于python - Visual Studio 2019 中的 Jupyter Notebook 支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67183359/