-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arrow-udf-python PYO3_PYTHON #15
Comments
-- 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 |
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
The text was updated successfully, but these errors were encountered: