You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There're two issues here, venv not activating and deactivate not working, let's tackle it one by one. Try installing https://github.com/microsoft/vscode-python/suites/18034939925/artifacts/1038232381 and do the steps to reproduce just the first issue (VIRTUAL_ENV not being set) without running any deactivate commands, and please report the logs again.
It has extra logging plus a potential fix. Looking at the logs it seems the issue was reproduced from the fact that the active editor opened was outside the workspace (.zshrc in this case). I had corrected it to handle that.
Activity
karrtikr commentedon Nov 9, 2023
There're two issues here, venv not activating and
deactivatenot working, let's tackle it one by one. Try installing https://github.com/microsoft/vscode-python/suites/18034939925/artifacts/1038232381 and do the steps to reproduce just the first issue (VIRTUAL_ENVnot being set) without running any deactivate commands, and please report the logs again.mjbvz commentedon Nov 9, 2023
Not seeing today updating both vscode insiders and python insiders. Will reopen if I start hitting it again
BTW what's that build? Does it have extra logging or something that the normal insiders doesn't?
karrtikr commentedon Nov 9, 2023
It has extra logging plus a potential fix. Looking at the logs it seems the issue was reproduced from the fact that the active editor opened was outside the workspace (
.zshrcin this case). I had corrected it to handle that.If active editor opened is outside the editor, activate the first wor…