Replies: 5 comments 1 reply
-
Run your build with See https://pyo3.rs/v0.15.1/building_and_distribution.html#configuring-the-python-version |
Beta Was this translation helpful? Give feedback.
-
Compiling pyo3 v0.15.1 Caused by: -- PYO3_PRINT_CONFIG=1 is set, printing configuration and halting compile -- i run the build and get the above result , it looks like no problem. but i cant run the example that in the section (Using Python from Rust) error: linking with error: could not compile |
Beta Was this translation helpful? Give feedback.
-
Did you enable the |
Beta Was this translation helpful? Give feedback.
-
wow ,i will check it right now! I didnot build with --enable-shared |
Beta Was this translation helpful? Give feedback.
-
Converting this issue to discussion since it doesn't look like a pyo3 bug. |
Beta Was this translation helpful? Give feedback.
-
I got the problem as follows:
the configured Python interpreter version (3.5) is lower than PyO3's minimum supported version (3.6)
but my Python version is already 3.7
what should i do
Beta Was this translation helpful? Give feedback.
All reactions