Issue
In almost every tutorial that I have seen, it is suggested to install anaconda in order to work with jupyter notebooks in Visual Studio Code, but I don't want all the packages that anaconda offers. Is there any other way to do this?
Solution
Have you installed the Python
extension, it is bound with Jupyter
and Pylance
extensions.
And you can create the jupyter notebook with the command of Jupyter: Create New Jupyter Notebook
:
And you can switch the kernels:
After you selected the python interpreter in the Jupyter Notebook, if this environment has not installed the related packages, it will prompt this:
You only need to click install, then the Jupyter extension will help you to install all the packages.
Answered By - Steven-MSFT
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.