镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

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.

Activity

  1. added
    windowsIssues and PRs related to the Windows platform.
    buildIssues and PRs related to Node.js builds or CI infrastructure.
    on Apr 21, 2022
  2. takipsizad commented on Apr 21, 2022

    @takipsizad

    i kinda doubt since it seems like more of escaping isuse but a valid issue anyway

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to Node.js builds or CI infrastructure.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