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
Does this issue occur when all extensions are disabled?: Yes/No
VS Code Version: 1.102.0
OS Version: ubuntu 22.04
Steps to Reproduce:
Switch to the environment created by venv (python3 -m venv cs)。
install the dependency package in the terminal of VSCode. The expectation is that the package will be installed in the virtual environment (cs), but in reality, it is installed in the path (~/.local/lib/python3.10/site-packages), resulting in the installation package being unusable.
there is not cs environment in the sys.path.
If you manually switch environments in the terminal of VSCode(source ~/venv/cs/bin/activate), everything will work normally.
Hi! Can you try adding the setting python.useEnvironmentsExtension, reload the page and try again? Let me know if this changes the behavior at all as this should help me narrow down the root cause. Thanks
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.
Activity
eleanorjboyd commentedon Nov 5, 2025
Hi! Can you try adding the setting
python.useEnvironmentsExtension, reload the page and try again? Let me know if this changes the behavior at all as this should help me narrow down the root cause. Thanksgithub-actions commentedon Dec 6, 2025
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.
Happy Coding!