Skip to content

Python Environments does not escape spaces #642

@PinkSerenity

Description

@PinkSerenity

When Python Environments selects a Python executable, it does not escape spaces, leading to errors like The term 'C:\Program' is not recognized as a name of a cmdlet, function, script file, or executable program. if Python is installed in C:\Program Files\. Creating a Virtual Environment does not help because Python Environment strips the quotes around the paths in the pyvenv.cfg file.

Proposed solution: If the path is unquoted, quote it.

Workarounds: Currently none, the extension needs to be disabled to run Python scripts.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions