Hi
I want to install pandas in python3 using pip. Our server is AIX 7.1 and aixtools.python3 and xlc are already installed. but when i try to install pandas module using pip, it's throwing below error. Please help to fix the issue.
root@atdb3 / >
# lslpp -l|grep -i xlc
xlC.aix61.rte 12.1.0.1 COMMITTED IBM XL C++ Runtime for AIX 6.1
xlC.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.rte 12.1.0.1 COMMITTED IBM XL C++ Runtime for AIX
xlC.sup.aix50.rte 9.0.0.1 COMMITTED XL C/C++ Runtime for AIX 5.2
root@atdb3 / >
# lslpp -l|grep -i python3
aixtools.python3.adt 3.8.0.0 COMMITTED python3 ADT files
aixtools.python3.man.en_US
3.8.0.0 COMMITTED python3 man pages
aixtools.python3.rte 3.8.0.0 COMMITTED python3 26-Oct-2019
root@izatdb3 / >
#
# ./pip3 install pandas
Collecting pandas
Using cached pandas-1.0.3.tar.gz (5.0 MB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3.8 /opt/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-l3vpdn7b/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i
https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.13' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python_version>='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version>='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"''
cwd: None
Complete output (539 lines):
Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.7" and platform_system != "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment
Collecting setuptools
Using cached setuptools-46.0.0-py3-none-any.whl (582 kB)
Collecting wheel
Using cached wheel-0.34.2-py2.py3-none-any.whl (26 kB)
Collecting Cython>=0.29.13
Using cached Cython-0.29.15-py2.py3-none-any.whl (968 kB)
Collecting numpy==1.16.0
Using cached numpy-1.16.0.zip (5.1 MB)
Installing collected packages: setuptools, wheel, Cython, numpy
Running setup.py install for numpy: started
Running setup.py install for numpy: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0cb6fbu4/numpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0cb6fbu4/numpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-8fv509uz/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-l3vpdn7b/overlay --compile --install-headers /tmp/pip-build-env-l3vpdn7b/overlay/include/python3.8/numpy
cwd: /tmp/pip-install-0cb6fbu4/numpy/
Complete output (519 lines):
Running from numpy source directory.
Note: if you need reliable uninstall behavior, then install
with pip instead of using `setup.py install`:
- `pip install .` (from a git repo or downloaded source
release)
- `pip install numpy` (last NumPy release on PyPi)
/tmp/pip-install-0cb6fbu4/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
C compiler: xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64
creating /tmp/tmp0zkcswl6/tmp
creating /tmp/tmp0zkcswl6/tmp/tmp0zkcswl6
compile options: '-MMD -MF /tmp/tmp0zkcswl6/file.c.d -c'
xlc_r: /tmp/tmp0zkcswl6/file.c
libraries mkl_rt not found in ['/opt/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
blis_info:
customize UnixCCompiler
C compiler: xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64
creating /tmp/tmpujtbpfxz/tmp
creating /tmp/tmpujtbpfxz/tmp/tmpujtbpfxz
compile options: '-MMD -MF /tmp/tmpujtbpfxz/file.c.d -c'
xlc_r: /tmp/tmpujtbpfxz/file.c
libraries blis not found in ['/opt/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
openblas_info:
customize UnixCCompiler
C compiler: xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64
creating /tmp/tmpekc06an2/tmp
creating /tmp/tmpekc06an2/tmp/tmpekc06an2
compile options: '-MMD -MF /tmp/tmpekc06an2/file.c.d -c'
xlc_r: /tmp/tmpekc06an2/file.c
customize UnixCCompiler
C compiler: xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64
creating /tmp/tmprretltz0/tmp
creating /tmp/tmprretltz0/tmp/tmprretltz0
compile options: '-MMD -MF /tmp/tmprretltz0/file.c.d -c'
xlc_r: /tmp/tmprretltz0/file.c
libraries openblas not found in ['/opt/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
C compiler: xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64
creating /tmp/tmpeiipia1z/tmp
creating /tmp/tmpeiipia1z/tmp/tmpeiipia1z
compile options: '-MMD -MF /tmp/tmpeiipia1z/file.c.d -c'
xlc_r: /tmp/tmpeiipia1z/file.c
libraries tatlas not found in ['/opt/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_info:
customize UnixCCompiler
C compiler: xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64
creating /tmp/tmp1i76czrp/tmp
creating /tmp/tmp1i76czrp/tmp/tmp1i76czrp
compile options: '-MMD -MF /tmp/tmp1i76czrp/file.c.d -c'
xlc_r: /tmp/tmp1i76czrp/file.c
libraries satlas not found in ['/opt/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
C compiler: xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64
creating /tmp/tmpi0thd13j/tmp
creating /tmp/tmpi0thd13j/tmp/tmpi0thd13j
compile options: '-MMD -MF /tmp/tmpi0thd13j/file.c.d -c'
xlc_r: /tmp/tmpi0thd13j/file.c
libraries ptf77blas,ptcblas,atlas not found in ['/opt/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
atlas_blas_info:
customize UnixCCompiler
C compiler: xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64
creating /tmp/tmp72ghz2_j/tmp
creating /tmp/tmp72ghz2_j/tmp/tmp72ghz2_j
compile options: '-MMD -MF /tmp/tmp72ghz2_j/file.c.d -c'
xlc_r: /tmp/tmp72ghz2_j/file.c
libraries f77blas,cblas,atlas not found in ['/opt/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
/tmp/pip-install-0cb6fbu4/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
C compiler: xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64
creating /tmp/tmp7j58rgkq/tmp
creating /tmp/tmp7j58rgkq/tmp/tmp7j58rgkq
compile options: '-MMD -MF /tmp/tmp7j58rgkq/file.c.d -c'
xlc_r: /tmp/tmp7j58rgkq/file.c
customize UnixCCompiler
C compiler: xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64
creating /tmp/tmpkhde0ksx/tmp
creating /tmp/tmpkhde0ksx/tmp/tmpkhde0ksx
compile options: '-MMD -MF /tmp/tmpkhde0ksx/file.c.d -c'
xlc_r: /tmp/tmpkhde0ksx/file.c
C compiler: xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64
creating /tmp/tmpp3v4hkhl/tmp
creating /tmp/tmpp3v4hkhl/tmp/tmpp3v4hkhl
compile options: '-I/opt/include -I/usr/include -c'
xlc_r: /tmp/tmpp3v4hkhl/source.c
customize UnixCCompiler
C compiler: xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64
creating /tmp/tmp51vzbw1e/tmp
creating /tmp/tmp51vzbw1e/tmp/tmp51vzbw1e
compile options: '-MMD -MF /tmp/tmp51vzbw1e/file.c.d -c'
xlc_r: /tmp/tmp51vzbw1e/file.c
FOUND:
libraries = ['blas', 'blas']
library_dirs = ['/usr/lib']
include_dirs = ['/opt/include', '/usr/include']
FOUND:
define_macros = [('NO_ATLAS_INFO', 1)]
libraries = ['blas', 'blas']
library_dirs = ['/usr/lib']
include_dirs = ['/opt/include', '/usr/include']
/bin/sh: svnversion: not found
non-existing path in 'numpy/distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info: