You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Alessandro Molina (Jira)" <ji...@apache.org> on 2022/10/24 16:01:00 UTC
[jira] [Updated] (ARROW-18129) get_include() gives wrong directory
[ https://issues.apache.org/jira/browse/ARROW-18129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alessandro Molina updated ARROW-18129:
--------------------------------------
Labels: triaged (was: )
> get_include() gives wrong directory
> -----------------------------------
>
> Key: ARROW-18129
> URL: https://issues.apache.org/jira/browse/ARROW-18129
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 9.0.0
> Environment: conda
> Reporter: Left Screen
> Priority: Minor
> Labels: triaged
>
> {{get_include}} seems to do:
>
> {code:java}
> def get_include():
> """
> Return absolute path to directory containing Arrow C++ include
> headers. Similar to numpy.get_include
> """
> return _os.path.join(_os.path.dirname(__file__), 'include') {code}
> This returns something like:
> {code:java}
> /path/to/myconda/envs/envname/lib/python3.8/site-packages/pyarrow/include{code}
> which does not exist in a conda environment. The path where the headers actually get installed is to:
>
> {code:java}
> $ echo $CONDA_PREFIX
> /path/to/myconda/envs/envname
> $ ls $CONDA_PREFIX/include/arrow | head
> adapters
> api.h
> array
> array.h
> buffer_builder.h
> buffer.h
> builder.h
> c
> chunked_array.h
> chunk_resolver.h
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)