Last edited:
I want to install pandas, but I get an error.
Please help me.
Paste the error in SSH.
pip install pandas
Defaulting to user installation because normal site-packages is not writeable
Collecting pandas
Using cached pandas-1.4.1.tar.gz (4.9 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
x exit code: 1
mq> [636 lines of output]
Collecting setuptools>=51.0.0
Using cached setuptools-60.9.3-py3-none-any.whl (1.1 MB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting Cython<3,>=0.29.24
Using cached Cython-0.29.28-py2.py3-none-any.whl (983 kB)
Collecting oldest-supported-numpy>=0.10
Using cached oldest_supported_numpy-2022.1.30-py3-none-any.whl (3.9 kB)
Collecting numpy==1.17.3
Using cached numpy-1.17.3.zip (6.4 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: numpy
Building wheel for numpy (setup.py): started
Building wheel for numpy (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
x exit code: 1
mq> [281 lines of output]
Running from numpy source directory.
blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
blis_info:
customize UnixCCompiler
libraries blis not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries tatlas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_info:
customize UnixCCompiler
libraries satlas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/l
NOT AVAILABLE
atlas_blas_info:
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/system_info.py:690: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
self.calc_info()
blas_info:
customize UnixCCompiler
libraries blas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/system_info.py:690: UserWarning:
Blas (BLAS (Basic Linear Algebra Subprograms)) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
self.calc_info()
blas_src_info:
NOT AVAILABLE
/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/system_info.py:690: UserWarning:
Blas (BLAS (Basic Linear Algebra Subprograms)) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
self.calc_info()
NOT AVAILABLE
/bin/sh: svnversion: command not found
non-existing path in 'numpy/distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_lapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_clapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas,lapack not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
flame_info:
customize UnixCCompiler
libraries flame not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries lapack_atlas not found in /var/packages/py3k/target/usr/local/lib
customize UnixCCompiler
libraries tatlas,tatlas not found in /var/packages/py3k/target/usr/local/lib
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/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 /var/packages/py3k/target/usr/local/lib
customize UnixCCompiler
libraries satlas,satlas not found in /var/packages/py3k/target/usr/local/lib
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/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 /var/packages/py3k/target/usr/local/lib
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /var/packages/py3k/target/usr/local/lib
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/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 /var/packages/py3k/target/usr/local/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /var/packages/py3k/target/usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
customize UnixCCompiler
libraries lapack not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/system_info.py:1712: UserWarning:
Lapack (LAPACK — Linear Algebra PACKage) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
if getattr(self, '_calc_info_{}'.format(lapack))():
lapack_src_info:
NOT AVAILABLE
/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/system_info.py:1712: UserWarning:
Lapack (LAPACK — Linear Algebra PACKage) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
if getattr(self, '_calc_info_{}'.format(lapack))():
NOT AVAILABLE
/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknow os'
warnings.warn(msg)
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build/src.linux-armv7l-3.8
creating build/src.linux-armv7l-3.8/numpy
creating build/src.linux-armv7l-3.8/numpy/distutils
building library "npymath" sources
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', , 'nagfor']'
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize LaheyFCompiler
Could not locate executable lf95
customize PGroupFCompiler
Could not locate executable pgfortran
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize NAGFCompiler
customize VastFCompiler
customize CompaqFCompiler
Could not locate executable fort
customize IntelItaniumFCompiler
Could not locate executable efort
Could not locate executable efc
customize IntelEM64TFCompiler
customize GnuFCompiler
Could not locate executable g77
customize G95FCompiler
Could not locate executable g95
customize PathScaleFCompiler
Could not locate executable pathf95
customize NAGFORCompiler
Could not locate executable nagfor
don't know how to compile Fortran code on platform 'posix'
C compiler: /usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc -pthread -Wno-unused-result -O3 -Wall -mhard-float -mfpu=vfpv3 -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -DSYNOPLAT_F_ARMV7 -O2 -fno-diagnostics-show-ca lude /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=32 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -DSDK_V rotector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -fPIC
compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/mult py/core/src/npysort -I/var/packages/py3k/target/usr/local/include/python3.8 -c'
arm-unknown-linux-gnueabi-ccache-gcc: _configtest.c
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/setup.py", line 443, in <module>
setup_package()
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/setup.py", line 435, in setup_package
setup(**metadata)
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/core.py", line 171, in setup
return old_setup(**new_attr)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line 155, in setup
return distutils.core.setup(**attrs)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 148, in s
return run_commands(dist)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 163, in r
dist.run_commands()
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 967, in r
self.run_command(cmd)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in r
cmd_obj.run()
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in ru
self.distribution.run_command(command)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in r
cmd_obj.run()
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/command/build.py", line 47, i
old_build.run(self)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line
self.run_command(cmd_name)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in ru
self.distribution.run_command(command)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in r
cmd_obj.run()
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/command/build_src.py", line 1
self.build_sources()
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/command/build_src.py", line 1
self.build_library_sources(*libname_info)
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/command/build_src.py", line 2
sources = self.generate_sources(sources, (lib_name, build_info))
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/command/build_src.py", line 3
source = func(extension, build_dir)
File "numpy/core/setup.py", line 669, in get_mathlib_info
raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
error: subprocess-exited-with-error
× python setup.py clean did not run successfully.
x exit code: 1
mq> [10 lines of output]
Running from numpy source directory.
`setup.py clean` is not supported, use one of the following instead:
- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
files that aren't checked into the git repo)
Add `--force` to your command to use it anyway if you must (unsupported).
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for numpy
Failed to build numpy
Installing collected packages: wheel, setuptools, numpy, Cython, oldest-supported-numpy
Running setup.py install for numpy: started
Running setup.py install for numpy: finished with status 'error'
error: subprocess-exited-with-error
× Running setup.py install for numpy did not run successfully.
x exit code: 1
mq> [292 lines of output]
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)
blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
Please help me.
Paste the error in SSH.
pip install pandas
Defaulting to user installation because normal site-packages is not writeable
Collecting pandas
Using cached pandas-1.4.1.tar.gz (4.9 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
x exit code: 1
mq> [636 lines of output]
Collecting setuptools>=51.0.0
Using cached setuptools-60.9.3-py3-none-any.whl (1.1 MB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting Cython<3,>=0.29.24
Using cached Cython-0.29.28-py2.py3-none-any.whl (983 kB)
Collecting oldest-supported-numpy>=0.10
Using cached oldest_supported_numpy-2022.1.30-py3-none-any.whl (3.9 kB)
Collecting numpy==1.17.3
Using cached numpy-1.17.3.zip (6.4 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: numpy
Building wheel for numpy (setup.py): started
Building wheel for numpy (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
x exit code: 1
mq> [281 lines of output]
Running from numpy source directory.
blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
blis_info:
customize UnixCCompiler
libraries blis not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries tatlas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_info:
customize UnixCCompiler
libraries satlas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/l
NOT AVAILABLE
atlas_blas_info:
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/system_info.py:690: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
self.calc_info()
blas_info:
customize UnixCCompiler
libraries blas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/system_info.py:690: UserWarning:
Blas (BLAS (Basic Linear Algebra Subprograms)) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
self.calc_info()
blas_src_info:
NOT AVAILABLE
/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/system_info.py:690: UserWarning:
Blas (BLAS (Basic Linear Algebra Subprograms)) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
self.calc_info()
NOT AVAILABLE
/bin/sh: svnversion: command not found
non-existing path in 'numpy/distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_lapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_clapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas,lapack not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
flame_info:
customize UnixCCompiler
libraries flame not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries lapack_atlas not found in /var/packages/py3k/target/usr/local/lib
customize UnixCCompiler
libraries tatlas,tatlas not found in /var/packages/py3k/target/usr/local/lib
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/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 /var/packages/py3k/target/usr/local/lib
customize UnixCCompiler
libraries satlas,satlas not found in /var/packages/py3k/target/usr/local/lib
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/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 /var/packages/py3k/target/usr/local/lib
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /var/packages/py3k/target/usr/local/lib
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/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 /var/packages/py3k/target/usr/local/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /var/packages/py3k/target/usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
customize UnixCCompiler
libraries lapack not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/system_info.py:1712: UserWarning:
Lapack (LAPACK — Linear Algebra PACKage) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
if getattr(self, '_calc_info_{}'.format(lapack))():
lapack_src_info:
NOT AVAILABLE
/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/system_info.py:1712: UserWarning:
Lapack (LAPACK — Linear Algebra PACKage) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
if getattr(self, '_calc_info_{}'.format(lapack))():
NOT AVAILABLE
/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknow os'
warnings.warn(msg)
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build/src.linux-armv7l-3.8
creating build/src.linux-armv7l-3.8/numpy
creating build/src.linux-armv7l-3.8/numpy/distutils
building library "npymath" sources
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', , 'nagfor']'
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize LaheyFCompiler
Could not locate executable lf95
customize PGroupFCompiler
Could not locate executable pgfortran
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize NAGFCompiler
customize VastFCompiler
customize CompaqFCompiler
Could not locate executable fort
customize IntelItaniumFCompiler
Could not locate executable efort
Could not locate executable efc
customize IntelEM64TFCompiler
customize GnuFCompiler
Could not locate executable g77
customize G95FCompiler
Could not locate executable g95
customize PathScaleFCompiler
Could not locate executable pathf95
customize NAGFORCompiler
Could not locate executable nagfor
don't know how to compile Fortran code on platform 'posix'
C compiler: /usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc -pthread -Wno-unused-result -O3 -Wall -mhard-float -mfpu=vfpv3 -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -DSYNOPLAT_F_ARMV7 -O2 -fno-diagnostics-show-ca lude /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=32 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -DSDK_V rotector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -fPIC
compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/mult py/core/src/npysort -I/var/packages/py3k/target/usr/local/include/python3.8 -c'
arm-unknown-linux-gnueabi-ccache-gcc: _configtest.c
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/setup.py", line 443, in <module>
setup_package()
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/setup.py", line 435, in setup_package
setup(**metadata)
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/core.py", line 171, in setup
return old_setup(**new_attr)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line 155, in setup
return distutils.core.setup(**attrs)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 148, in s
return run_commands(dist)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 163, in r
dist.run_commands()
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 967, in r
self.run_command(cmd)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in r
cmd_obj.run()
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in ru
self.distribution.run_command(command)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in r
cmd_obj.run()
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/command/build.py", line 47, i
old_build.run(self)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line
self.run_command(cmd_name)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in ru
self.distribution.run_command(command)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in r
cmd_obj.run()
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/command/build_src.py", line 1
self.build_sources()
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/command/build_src.py", line 1
self.build_library_sources(*libname_info)
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/command/build_src.py", line 2
sources = self.generate_sources(sources, (lib_name, build_info))
File "/tmp/pip-install-f67336q9/numpy_67a9d661e3584c73bab93ad5dd054cbb/numpy/distutils/command/build_src.py", line 3
source = func(extension, build_dir)
File "numpy/core/setup.py", line 669, in get_mathlib_info
raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
error: subprocess-exited-with-error
× python setup.py clean did not run successfully.
x exit code: 1
mq> [10 lines of output]
Running from numpy source directory.
`setup.py clean` is not supported, use one of the following instead:
- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
files that aren't checked into the git repo)
Add `--force` to your command to use it anyway if you must (unsupported).
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for numpy
Failed to build numpy
Installing collected packages: wheel, setuptools, numpy, Cython, oldest-supported-numpy
Running setup.py install for numpy: started
Running setup.py install for numpy: finished with status 'error'
error: subprocess-exited-with-error
× Running setup.py install for numpy did not run successfully.
x exit code: 1
mq> [292 lines of output]
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)
blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/var/packages/py3k/target/usr/local/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE