Issue
I have created a virtual environment with venv as follows from VS Code integrated terminal:
python3 -m venv <name>
after cd
in the directory, I activated it by doing source <name>/bin/activate
How can I make it available for the kernel of my VS Code integration of jupyter notebook? I only see the default python installations as possible kernels i.e. usr/bin/python3
Also, let's say I would like to then revert the process and remove that kernel - how can I do it?
Solution
As mentioned by Molly Wang below, the kernel does not appear in the list of Python environments and you should upvote this issue in Github. As a workaround, you could open the python interpreter menu in VS Code (crtl+p
) and type "Python interpreter"
and then navigate to your venv python (choose the right version within the /bin folder in your venv)
Answered By - G. Macia
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.