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

Aleksandar commented on ARROW-18032:
------------------------------------

/cube/api/py-3.11/bin/python3.11 --version
Python 3.11.0a1

good point on the numpy - interesting that numpy pip install works but

/cube/api/py-3.11/bin/python3.11 -c 'import numpy; print(numpy.__version__)'

or simple import of numpy fails:

File "/cube/api/py-3.11/lib/python3.11/site-packages/numpy/random/_pickle.py", 
line 1, in <module>
    from .mtrand import RandomState
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "mtrand.pyx", line 1, in init numpy.random.mtrand
ValueError: builtins.type size changed, may indicate binary incompatibility. 
Expected 904 from C header, got 888 from PyObject

which I take it it is not a pyarrow team problem but ratter numpy support issue 
for py 3.11.0 rc2

I guess if you guys succeeded w numpy and pyarrow on 3.11.0rc2 maybe you could 
tell me how did you compiled and build python.

Otherwise please close this issue as it is not pyarrow problem...

> pyarrow no go with pip3 and py-3.11rc2
> --------------------------------------
>
>                 Key: ARROW-18032
>                 URL: https://issues.apache.org/jira/browse/ARROW-18032
>             Project: Apache Arrow
>          Issue Type: Bug
>    Affects Versions: 9.0.0
>            Reporter: Aleksandar
>            Priority: Major
>
> I tried with ver 9.0.0 and testing versions
> Every time same thing:
> CMake Error at 
> /usr/local/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 
> (message):
>         Could NOT find Python3 (missing: Python3_NumPy_INCLUDE_DIRS NumPy) 
> (found
>         version "3.11.0")
> I am not sure where this can be changed in templates to enable support for 
> 3.11
> Regards,



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to