python vscode jupyter notebook配置虚拟环境

先配置 settings.json
"python.venvPath": "E:\pythonproject\venv",
"python.venvFolders": [
"py38study"
],
再重新创建一下.ipynb数据,选择虚拟环境就好了

你可能感兴趣的:(python vscode jupyter notebook配置虚拟环境)