Skip to content

cannot build on the mac m1 bacause of py03 #1678

Answered by Xuanwo
hawkingrei asked this question in Q&A
Discussion options

You must be logged in to vote

It's recommand to use pyenv to init a python version: https://pyo3.rs/v0.18.1/getting_started#python

And adding the following env: PYTHON_CONFIGURE_OPTS="--enable-shared"

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

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

This discussion was converted from issue #1675 on March 18, 2023 12:07.