![](/img/trans.png)
[英]How connect to Jupyter notebook with Visual Studio 2017
[英]Jupyter Notebook support in Visual Studio 2019
我能夠調試 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打開命令面板,這在 VS Professional 或 Community 2019 中沒有任何作用。我也嘗試過 VS Community 2019,我得到了相同的結果。
我還在 Visual Studio Code 中觀看了 Jeffrey Mew 的Jupyter Notebooks視頻和 Tyreke White 的視頻Getting Started with Python 在 Visual Studio Code 中,它與我在 VS 中看到的不符。
您可以安裝 Azure Data Studio 以在其中使用 Jupyter notebook 或 Google Colab。
我能夠調試 python 程序並想使用 jupyter 筆記本,但我在管理擴展下看不到 Python 擴展。 我有 VS Professional 2019,我看到的許多 Marketplace 示例都不是我看到的。
這是我的VS屏幕的圖片。 當我搜索時,我沒有找到 pylance 或 jupyter 擴展。
我查看了有關https://code.visualstudio.com/docs/python/jupyter-support和https://towardsdatascience.com/jupyter-notebook-in-visual-studio-code-3fc21a36fe43的信息,他們使用CTRL +visual-studio-code-3fc21a36fe43 SHIFT + P打開命令面板,這在 VS Professional 或 Community 2019 中沒有任何作用。我也嘗試了 VS Community 2019,我得到了相同的結果。
我還觀看了 Jeffrey Mew 在 Visual Studio Code 中有關Jupyter Notebooks的視頻和 Tyreke White在 Visual Studio Code 中使用 Python 入門的視頻,它與我在 VS 中看到的不符。
我發現您可以在 Visual Studio 2019 中使用 Jupyter Notebooks 的唯一方法是通過Anaconda 安裝。 然后就可以導入Anaconda自帶的相關Jupyter模塊了。
Jupyter Notebook 在Visual Studio Marketplace中不作為擴展提供。
Visual Studio 2019 和 Visual Studio Code 之間的差異——以及一種幫助您決定應該使用兩者中的哪一個的方法。
我在 Visual Studio Professional 中使用 Python 而不是 Visual Studio Code 時遇到了同樣的問題,其中幾乎所有 python 相關內容都針對“VS 代碼”而不是“VS”。
但是,我試圖通過Pypl通過Python環境的“管理Python包”來搜索“Jupyter”。 Jupyter 在那里,我安裝了它。 雖然沒有嘗試過,但只是想在這里與您分享信息。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.