Static Build of pyo3 (embedding python interpreter)
Author: uncotionCreated Mar 23, 2019Updated Sep 11, 2026
I would like to run python from rust, but in my situation, end users who will run the program, haven't preinstalled python and it's not possible to install (their system is extra restricted). Is it possible build a rust program that uses pyo3 will embed python interpreter? (So that users don't need to install a python interpreter separately)? Is it possible please give me some hit, In documentation there wasn't any point to this.
Source: PyO3/pyo3