You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2023/07/07 15:06:20 UTC

[GitHub] [arrow] jorisvandenbossche opened a new issue, #36553: [Python] Improve error message if certain submodule (cython or cpp) is not built

jorisvandenbossche opened a new issue, #36553:
URL: https://github.com/apache/arrow/issues/36553

   xref https://github.com/conda-forge/arrow-cpp-feedstock/issues/1035#issuecomment-1582258181
   
   You can built a more minimal Arrow C++ / pyarrow (or distribute it in parts, potentially for conda-forge). This is already possible right now, and gives an error about the .so not being found at runtime. For example, removing libarrow_dataset.so from my conda env and then importing pyarrow's dataset submodule gives:
   
   ```
   In [1]: import pyarrow.dataset as ds
   ...
   ImportError: libarrow_dataset.so.1300: cannot open shared object file: No such file or directory
   ```
   
   We should improve this error message: for each optional component, we can add a try/except around the import of the compiled module, re-raising an ImportError with a more informative error message about the subcomponent not being enabled / installed. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] kou closed issue #36553: [Python] Improve error message if certain submodule (cython or cpp) is not built

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #36553: [Python] Improve error message if certain submodule (cython or cpp) is not built
URL: https://github.com/apache/arrow/issues/36553


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org