You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2017/06/04 22:22:04 UTC

[jira] [Commented] (ARROW-1086) [Python] pyarrow 0.4.0 on pypi is missing pxd files

    [ https://issues.apache.org/jira/browse/ARROW-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16036409#comment-16036409 ] 

Wes McKinney commented on ARROW-1086:
-------------------------------------

Would you like to submit a patch to copy these files during {{setup.py install}}?

> [Python] pyarrow 0.4.0 on pypi is missing pxd files
> ---------------------------------------------------
>
>                 Key: ARROW-1086
>                 URL: https://issues.apache.org/jira/browse/ARROW-1086
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Jacob Scott
>
> {{pip install pyarrow==0.4.0}} does not install the pxd files found in {{python/pyarrow/includes}}. 
> This prevents use of pyarrow Cython code downstream; something as simple as {{from pyarrow.lib cimport Array}} fails due to
> {code}
> /Users/jhscott/.virtualenvs/arrow_cython/lib/python2.7/site-packages/pyarrow/lib.pxd: cannot find cimported module 'pyarrow.includes.libarrow'
> /Users/jhscott/.virtualenvs/arrow_cython/lib/python2.7/site-packages/pyarrow/lib.pxd: cannot find cimported module 'pyarrow.includes.common'
> {code}
> Manually copying these pxd files from the arrow source tree into the location Cython complains about fixes the problem.
> See https://github.com/snakescott/arrow_cython for an example repro.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)