forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
info-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Environment data
- Language Server version: 2022.7.40
- OS and version: darwin x64
- Python version (and distribution if applicable, e.g. Anaconda): Python 3.8.8, conda 4.13.0
- python.analysis.indexing: null
- python.analysis.typeCheckingMode: off
Repro Steps
- Have Anaconda, and create an anaconda venv that is not
base(in addition tobase - Add the following to the workspace settings (get path from activating the env, then typing
which python)
{
"python.defaultInterpreterPath": "/Users/[...]/anaconda3/envs/[your_env]/bin/python",
} - Restart VSCode to activate Anaconda
- Open a terminal window using
View: Toggle Terminal, note howconda activate yourenvis run - Close and reopen VSCode.
Expected behavior
When I restart VsCode, the previous environment is restored (or if not possible, the environment that is associated with the defaultInterpreterPath is restored)
Actual behavior
When I restart VSCode, the enviroment is not restored, and instead the base envirnoment is active.
Logs
Metadata
Metadata
Assignees
Labels
info-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team