Skip to content

Corrupted path when opening a new terminal in a python project #21422

@clrusby

Description

@clrusby

When opening a new terminal, the path is corrupted to have "undefined" where the previous path should be:
bash-4.4$ echo $PATH
/custompython/bin:undefined
This only seems to occur with a custom Python installation we have. It doesn't happen with the stock Redhat install or any virtualenvs created from that.
If I click on Show environment contributions in the terminal, the Python extension part shows this:

## Extension: ms-python.python
- `PATH=/path/to/my/python/bin:undefined`

Metadata

Metadata

Assignees

Labels

area-environmentsFeatures relating to handling interpreter environmentsauthor-verification-requestedIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions