-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select Python Interpreter could not recognize the Miniconda enviroments #16322
Comments
add the vscode database. |
Hi @guotuofeng, thank you for reaching out! What happens if you use the "Clear Internal Extension Cache" command? |
I tried out but it doesn't help. The issue is still there. |
Similiar issue |
Similiar issue too. |
@CatNofishing and @wjx0912, what do you mean by similar issue? If you delete the state.vscdb cache file, the select interpreter command can discover all available Miniconda environments? |
Might be related with this issue: microsoft/vscode-jupyter#10552, since I hit the case as well. |
Hi everyone, is this issue still happening? |
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off. |
Environment data
python.languageServer
setting: Pylance[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (
python.languageServer: 'Microsoft'
), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]Expected behaviour
When run "Python: Select Interpreter", all installed Miniconda environment should be discovered.
Actual behaviour
The dropdown list can only show part of the Miniconda environments in my machine.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
The select interpreter is broken in my machine, which seems be related to %USERPROFILE%\AppData\Roaming\Code\User\globalStorage\state.vscdb
The select interpreter can only show the python associated with current project. If I delete the state.vscdb cache file, the select interpreter could discovered all available Miniconda environments. On the other hand, if I restore state.vscdb, the issue will happen again like the screenshot shown.
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)The text was updated successfully, but these errors were encountered: