Open hanxuanliang opened 3 weeks ago
-- PYO3_PRINT_CONFIG=1 is set, printing configuration and halting compile --
implementation=CPython
version=3.7
shared=true
abi3=true
lib_name=python3.12
lib_dir=/Users/xxx/.pyenv/versions/3.12.2/lib
executable=/Users/xxx/.pyenv/versions/3.12.2/bin/python
pointer_width=64
build_flags=
suppress_build_script_link_lines=false
I have no idea on this problem. Is it possible to be related with pyenv?
Can we use RustPython
to interpret the Python scripts?
Can we use
RustPython
to interpret the Python scripts?
I have investigated RustPython. Its API documentation is far less complete than pyo3, making it harder to integrate. Considering the risk of its completeness and performance issues (someone said RustPython is generally 5-15x slower than CPython. ref), I did not choose RustPython as the runtime.
However, the major advantage of RustPython against pyo3 (CPython) is that natively it has no GIL limitation. Currently, to use CPython in a multithreaded environment, we have to switch between sub-interpreters, which has introduced significant performance overhead. I would be very appreciated if someone is willing to explore the RustPython solution. 😄
Currently, I have introduced arrow-udf-python into databend and encountered this error.
run-command:
PYO3_PYTHON=python3.12 cargo build
Env
BACKTRACE