Skip to content

Failed to switch environment #25556

Description

@tendrillion

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:

  1. Switch to the environment created by venv (python3 -m venv cs)。
  2. 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.
  3. there is not cs environment in the sys.path.
  4. If you manually switch environments in the terminal of VSCode(source ~/venv/cs/bin/activate), everything will work normally.
Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

info-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions