Skip to content

Deactivate environment command broken for venv #22037

@AnAngryPlatapus

Description

@AnAngryPlatapus

Workaround

This is a known issue, see #22037 (comment) for a workaround in bash.

Expected vs. Actual

Expected: running deactivate exits the venv in that particular shell context

Actual: running deactivate shows command isn't found
(data-loader-prototype-py3.10) [admin-smiller@UUE2OLY01L olympus]$ deactivate
bash: deactivate: command not found

Behaviour

I would expect the environment to be properly sourced in my bash shell context. Instead commands like "deactivate" are not found given the inital shell context.

Steps to reproduce:

  1. Select a python interpreter via the python plugin
  2. Open an new terminal
  3. Try deactivating the default environment

Metadata

Metadata

Assignees

Labels

area-terminalbugIssue identified by VS Code Team member as probable bugexperimentingFeature is part of an experimentverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions