-
在 VS Code Server 上安裝下列 extension
- python
- jupyter
-
選擇 interpreter
點 f1 跳出指令框,輸入Python: Select Interpreter
後選擇 venv folder 底下的 bin/pythonX.XX -
在 notebook 頁面中選擇 venv folder
Reference
https://anbasile.github.io/posts/2017-06-25-jupyter-venv/
https://stackoverflow.com/questions/58119823/jupyter-notebooks-in-visual-studio-code-does-not-use-the-active-virtual-environm