You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Oksana Shadura (Jira)" <ji...@apache.org> on 2021/01/11 16:05:00 UTC

[jira] [Created] (ARROW-11207) Can't install pyarrow with python 3.9.1

Oksana Shadura created ARROW-11207:
--------------------------------------

             Summary: Can't install pyarrow with python 3.9.1
                 Key: ARROW-11207
                 URL: https://issues.apache.org/jira/browse/ARROW-11207
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
    Affects Versions: 2.0.0
            Reporter: Oksana Shadura


After package manager updates (OS Manjaro), I can't install pyarrow:

```

$python --version 
Python 3.9.1

$pip install pyarrow 
Defaulting to user installation because normal site-packages is not writeable
Collecting pyarrow
 Using cached pyarrow-2.0.0.tar.gz (58.9 MB)
 Installing build dependencies ... error
 ERROR: Command errored out with exit status 1:
 command: /usr/bin/python /usr/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-m7rsjg8s/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 (3738 lines):
 Ignoring numpy: markers 'python_version < "3.7"' don't match your environment
 Collecting cython>=0.29
 Using cached Cython-0.29.21-cp39-cp39-manylinux1_x86_64.whl (1.9 MB)
 Collecting numpy==1.16.0
 Using cached numpy-1.16.0.zip (5.1 MB)
 Collecting setuptools
 Using cached setuptools-51.1.2-py3-none-any.whl (784 kB)
 Collecting setuptools_scm
 Using cached setuptools_scm-5.0.1-py2.py3-none-any.whl (28 kB)
 Collecting wheel
 Using cached wheel-0.36.2-py2.py3-none-any.whl (35 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/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-f4fzbfyb/numpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-f4fzbfyb/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 /tmp/pip-wheel-p7wh1sc1
 cwd: /tmp/pip-install-f4fzbfyb/numpy/
 Complete output (3222 lines):
 Running from numpy source directory.
 /tmp/pip-install-f4fzbfyb/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)
 blas_opt_info:
 blas_mkl_info:
 customize UnixCCompiler
 libraries mkl_rt not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
 NOT AVAILABLE
 
 blis_info:
 customize UnixCCompiler
 libraries blis not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
 NOT AVAILABLE
 
 openblas_info:
 customize UnixCCompiler
 customize UnixCCompiler
 libraries openblas not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
 NOT AVAILABLE
 
 atlas_3_10_blas_threads_info:
 Setting PTATLAS=ATLAS
 customize UnixCCompiler
 libraries tatlas not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
 NOT AVAILABLE
 
 atlas_3_10_blas_info:
 customize UnixCCompiler
 libraries satlas not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
 NOT AVAILABLE
 
 atlas_blas_threads_info:
 Setting PTATLAS=ATLAS
 customize UnixCCompiler
 libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
 NOT AVAILABLE
 
 atlas_blas_info:
 customize UnixCCompiler
 libraries f77blas,cblas,atlas not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
 NOT AVAILABLE
 
 accelerate_info:
 NOT AVAILABLE
 
 /tmp/pip-install-f4fzbfyb/numpy/numpy/distutils/system_info.py:625: UserWarning:
 Atlas (http://math-atlas.sourceforge.net/) libraries not found.
 Directories to search for the libraries can be specified in the
 numpy/distutils/site.cfg file (section [atlas]) or by setting
 the ATLAS environment variable.
 self.calc_info()
 blas_info:
 customize UnixCCompiler
 customize UnixCCompiler
 C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fPIC
 
 creating /tmp/tmpl0lk1b35/tmp
 creating /tmp/tmpl0lk1b35/tmp/tmpl0lk1b35
 compile options: '-I/usr/local/include -I/usr/include -c'
 gcc: /tmp/tmpl0lk1b35/source.c
 /tmp/tmpl0lk1b35/source.c:1:10: fatal error: cblas.h: No such file or directory
 1 | #include <cblas.h>
 | ^~~~~~~~~
 compilation terminated.
 customize UnixCCompiler
 FOUND:
 libraries = ['blas', 'blas']
 library_dirs = ['/usr/lib64']
 include_dirs = ['/usr/local/include', '/usr/include']
 
 FOUND:
 define_macros = [('NO_ATLAS_INFO', 1)]
 libraries = ['blas', 'blas']
 library_dirs = ['/usr/lib64']
 include_dirs = ['/usr/local/include', '/usr/include']
 
 non-existing path in 'numpy/distutils': 'site.cfg'
 lapack_opt_info:
 lapack_mkl_info:
 customize UnixCCompiler
 libraries mkl_rt not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
 NOT AVAILABLE
 
 openblas_lapack_info:
 customize UnixCCompiler
 customize UnixCCompiler
 libraries openblas not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
 NOT AVAILABLE
 
 openblas_clapack_info:
 customize UnixCCompiler
 customize UnixCCompiler
 libraries openblas,lapack not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
 NOT AVAILABLE
 
 atlas_3_10_threads_info:
 Setting PTATLAS=ATLAS
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/local/lib64
 customize UnixCCompiler
 libraries tatlas,tatlas not found in /usr/local/lib64
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/local/lib
 customize UnixCCompiler
 libraries tatlas,tatlas not found in /usr/local/lib
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/lib64
 customize UnixCCompiler
 libraries tatlas,tatlas not found in /usr/lib64
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/lib
 customize UnixCCompiler
 libraries tatlas,tatlas not found in /usr/lib
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/lib/
 customize UnixCCompiler
 libraries tatlas,tatlas not found in /usr/lib/
 <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
 NOT AVAILABLE
 
 atlas_3_10_info:
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/local/lib64
 customize UnixCCompiler
 libraries satlas,satlas not found in /usr/local/lib64
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/local/lib
 customize UnixCCompiler
 libraries satlas,satlas not found in /usr/local/lib
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/lib64
 customize UnixCCompiler
 libraries satlas,satlas not found in /usr/lib64
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/lib
 customize UnixCCompiler
 libraries satlas,satlas not found in /usr/lib
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/lib/
 customize UnixCCompiler
 libraries satlas,satlas not found in /usr/lib/
 <class 'numpy.distutils.system_info.atlas_3_10_info'>
 NOT AVAILABLE
 
 atlas_threads_info:
 Setting PTATLAS=ATLAS
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/local/lib64
 customize UnixCCompiler
 libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/local/lib
 customize UnixCCompiler
 libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/lib64
 customize UnixCCompiler
 libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/lib
 customize UnixCCompiler
 libraries ptf77blas,ptcblas,atlas not found in /usr/lib
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/lib/
 customize UnixCCompiler
 libraries ptf77blas,ptcblas,atlas not found in /usr/lib/
 <class 'numpy.distutils.system_info.atlas_threads_info'>
 NOT AVAILABLE
 
 atlas_info:
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/local/lib64
 customize UnixCCompiler
 libraries f77blas,cblas,atlas not found in /usr/local/lib64
 customize UnixCCompiler
 libraries lapack_atlas not found in /usr/local/lib
 customize UnixCCompiler
 libraries f77blas,cblas,atlas not f

```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)