Open the settings. json file with the Preferences: Open User Settings (JSON) command in the Command Palette (Ctrl+Shift+P)
In settings.json
"terminal.integrated.defaultProfile.windows": "Command Prompt", "python.terminal.activateEnvironment": true, "python.condaPath": "C:\\your-path-here\\miniconda3\\_conda.exe"
Now when you switch Python: Select Interpreter in the Command Palette (Ctrl+Shift+P)
you will see conda environment activated in your terminal window
To active environment in your Jupiter Notebook connect to a remote Jupyter server
Kommentare