[
https://issues.apache.org/jira/browse/ARROW-10497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kouhei Sutou closed ARROW-10497.
--------------------------------
Resolution: Duplicate
It will be fixed by ARROW-10224.
> [Python] Failed to build pyarrow on python 3.9
> ----------------------------------------------
>
> Key: ARROW-10497
> URL: https://issues.apache.org/jira/browse/ARROW-10497
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Atif Rasheed
> Priority: Minor
>
> $ python3 --version
> Python 3.9.0
> $ pip3 --version
> pip 20.2.4 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)
> $
> $ python3 -c 'import numpy as n; print(n.__version__);
> print(n.get_include());'
> 1.19.4
> /usr/local/lib/python3.9/site-packages/numpy/core/include
> $
> $ pip3 install pyarrow
> Collecting pyarrow
> Using cached pyarrow-1.0.1.tar.gz (1.3 MB)
> Installing build dependencies ... error
> ERROR: Command errored out with exit status 1:
> command: /usr/local/opt/[email protected]/bin/python3.9
> /usr/local/lib/python3.9/site-packages/pip install --ignore-installed
> --no-user --prefix
> /private/var/folders/8v/cp49sqgx5_gd1gy3tdzp5w8n3dkrj7/T/pip-build-env-ksa23hcb/overlay
> --no-warn-script-location --no-binary :none: --only-binary :none: -i
> https://pypi.org/simple -- 'cython >= 0.29' 'numpy==1.14.5;
> python_version<'"'"'3.7'"'"'' 'numpy==1.16.0; python_version>='"'"'3.7'"'"''
> setuptools setuptools_scm wheel
> cwd: None
> Complete output (4218 lines):
> Ignoring numpy: markers 'python_version < "3.7"' don't match your environment
> Collecting cython>=0.29
> Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB)
> Collecting numpy==1.16.0
> Using cached numpy-1.16.0.zip (5.1 MB)
> Collecting setuptools
> Using cached setuptools-50.3.2-py3-none-any.whl (785 kB)
> Collecting setuptools_scm
> Using cached setuptools_scm-4.1.2-py2.py3-none-any.whl (27 kB)
> Collecting wheel
> Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB)
> Building wheels for collected packages: numpy
> Building wheel for numpy (setup.py): started
> Building wheel for numpy (setup.py): still running...
> Building wheel for numpy (setup.py): finished with status 'error'
> ERROR: Command errored out with exit status 1:
> command: /usr/local/opt/[email protected]/bin/python3.9 -u -c 'import sys,
> setuptools, tokenize; sys.argv[0] =
> '"'"'/private/var/folders/8v/cp49sqgx5_gd1gy3tdzp5w8n3dkrj7/T/pip-install-nuh76pzr/numpy/setup.py'"'"';
>
> __file__='"'"'/private/var/folders/8v/cp49sqgx5_gd1gy3tdzp5w8n3dkrj7/T/pip-install-nuh76pzr/numpy/setup.py'"'"';f=getattr(tokenize,
> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> bdist_wheel -d
> /private/var/folders/8v/cp49sqgx5_gd1gy3tdzp5w8n3dkrj7/T/pip-wheel-nn9wiqef
> cwd:
> /private/var/folders/8v/cp49sqgx5_gd1gy3tdzp5w8n3dkrj7/T/pip-install-nuh76pzr/numpy/
> Complete output (3743 lines):
> Running from numpy source directory.
>
> /private/var/folders/8v/cp49sqgx5_gd1gy3tdzp5w8n3dkrj7/T/pip-install-nuh76pzr/numpy/numpy/distutils/misc_util.py:476:
> SyntaxWarning: "is" with a literal. Did you mean "=="?
> return is_string(s) and ('*' in s or '?' is s)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)