-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Python][C++] How to use pyarrow in the python sub-interpreter #42151
Comments
cc @pitrou |
Unfortunately, Cython support for subinterpreters is experimental and unfinished for now (see Once Cython support is finished for it, we should probably try to enable it. |
I use the the subinterpreters in CPython, not in Cython. It support for subinterpreters in the latest python version. (see in https://docs.python.org/3/c-api/init.html#sub-interpreter-support) |
PyArrow uses Cython, this is why it's not compatible with sub-interpreters. |
OK,I got that, thanks |
Describe the usage question you have. Please include as many useful details as possible.
Hi, I want to execute the same function with different python sub-interpreter in different threads. The function codes are like that
But I get a error when I import the pyarraow in the sub-interpreter
Dose I use the pyarrow in a wrong way? Or It dosen't allow use in the sub-interpreters?
If the later is, will it support in the future?
If it can use in sub-interpreter, how should I do?
Component(s)
python, c++
The text was updated successfully, but these errors were encountered: