Skip to content

Missing ninja package when building wheels for multiple Python versions on linux #2056

Closed Answered by mtsokol
mtsokol asked this question in Q&A
Discussion options

You must be logged in to vote

After changing:

subprocess.run(["ninja"], cwd=finch_build_dir, check=True)

to:

import ninja
ninja_executable_path = Path(ninja.BIN_DIR) / "ninja"
subprocess.run([ninja_executable_path], cwd=finch_build_dir, check=True)

in my setup.py helped here.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@henryiii
Comment options

@mtsokol
Comment options

Answer selected by mtsokol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants