Skip to content

How to repair path to macOS Python in compiled wheel? #991

Answered by DBraun
DBraun asked this question in Q&A
Discussion options

You must be logged in to vote

The solution was to not link to Python at all. pybind11 mentions this https://pybind11.readthedocs.io/en/stable/compiling.html

On macOS: the build command is almost the same but it also requires passing the -undefined dynamic_lookup flag so as to ignore missing symbols when building the module

Replies: 2 comments 2 replies

Comment options

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

@Czaki
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by DBraun
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