Skip to content

.\vcbuild on Windows is not aware of default python installation in "c:\program files\..." #42801

Closed
@jeffrson

Description

@jeffrson

Version

18.0.0

Platform

Microsoft Windows NT 10.0.19044.0 x64

Subsystem

No response

What steps will reproduce the bug?

Install python 3.10 from python.org with default settings - will install to c:\program files\python10

Run .\vcbuild

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior?

No response

What do you see instead?

.\vcbuild will find this installation at first, but fails after that:

Looking for Python
Python found in C:\Program Files\Python310\\python.exe
Der Befehl "C:\Program" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Not an executable Python program
Could not find Python.

Additional information

Yes, there are ways around this. Yes, it could be documented in building.md.

Best way would be to make find_python.cmd aware of spaces in python's installation path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions