How to ship PyO3 standalone binary? #4957
Unanswered
SeanPedersen
asked this question in
Questions
Replies: 2 comments
-
AFAIU I can just ship a shared Python library? e.g., libpython3.x.so on Linux or python3x.dll on Windows. How do I setup PyO3 to use the shared lib in my Rust code? |
Beta Was this translation helpful? Give feedback.
0 replies
-
#5332 或许能解决你的问题 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I recently learned that PyO3 is not producing a standalone binary (embedding the Python interpreter) but using the interpreter on my system thus my built binaries only work on my system... I learned about PyOxidizer which should solve the problem (embed the Python interpreter) but then I learned it is dead (https://gregoryszorc.com/blog/2024/03/17/my-shifting-open-source-priorities/) and in fact not working at all on my system (indygreg/PyOxidizer#761).
What is the recommended way to ship PyO3 to my end users?
Beta Was this translation helpful? Give feedback.
All reactions