TEXT   73

Numpy error

Guest on 25th May 2022 12:01:53 PM

  1. Collecting numpy
  2.   Using cached numpy-1.22.4.zip (11.5 MB)
  3.   Installing build dependencies ... done
  4.   Getting requirements to build wheel ... done
  5.   Preparing metadata (pyproject.toml) ... done
  6. Building wheels for collected packages: numpy
  7.   Building wheel for numpy (pyproject.toml) ... error
  8.   error: subprocess-exited-with-error
  9.  
  10.   × Building wheel for numpy (pyproject.toml) did not run successfully.
  11.   │ exit code: 1
  12.   ╰─> [255 lines of output]
  13.       Running from numpy source directory.
  14.       /data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/tools/cythonize.py:63: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  15.         from distutils.version import LooseVersion
  16.       Processing numpy/random/_bounded_integers.pxd.in
  17.       Processing numpy/random/_mt19937.pyx
  18.       Processing numpy/random/_generator.pyx
  19.       Processing numpy/random/_philox.pyx
  20.       Processing numpy/random/_bounded_integers.pyx.in
  21.       Processing numpy/random/_common.pyx
  22.       Processing numpy/random/_sfc64.pyx
  23.       Processing numpy/random/bit_generator.pyx
  24.       Processing numpy/random/_pcg64.pyx
  25.       Processing numpy/random/mtrand.pyx
  26.       Cythonizing sources
  27.       INFO: blas_opt_info:
  28.       INFO: blas_armpl_info:
  29.       INFO: customize UnixCCompiler
  30.       INFO:   libraries armpl_lp64_mp not found in ['/data/data/com.termux/files/usr/lib']
  31.       INFO:   NOT AVAILABLE
  32.       INFO:
  33.       INFO: blas_mkl_info:
  34.       INFO:   libraries mkl_rt not found in ['/data/data/com.termux/files/usr/lib']
  35.       INFO:   NOT AVAILABLE
  36.       INFO:
  37.       INFO: blis_info:
  38.       INFO:   libraries blis not found in ['/data/data/com.termux/files/usr/lib']
  39.       INFO:   NOT AVAILABLE
  40.       INFO:
  41.       INFO: openblas_info:
  42.       INFO:   libraries openblas not found in ['/data/data/com.termux/files/usr/lib']
  43.       INFO:   NOT AVAILABLE
  44.       INFO:
  45.       INFO: accelerate_info:
  46.       INFO:   NOT AVAILABLE
  47.       INFO:
  48.       INFO: atlas_3_10_blas_threads_info:
  49.       INFO: Setting PTATLAS=ATLAS
  50.       INFO:   libraries tatlas not found in ['/data/data/com.termux/files/usr/lib']
  51.       INFO:   NOT AVAILABLE
  52.       INFO:
  53.       INFO: atlas_3_10_blas_info:
  54.       INFO:   libraries satlas not found in ['/data/data/com.termux/files/usr/lib']
  55.       INFO:   NOT AVAILABLE
  56.       INFO:
  57.       INFO: atlas_blas_threads_info:
  58.       INFO: Setting PTATLAS=ATLAS
  59.       INFO:   libraries ptf77blas,ptcblas,atlas not found in ['/data/data/com.termux/files/usr/lib']
  60.       INFO:   NOT AVAILABLE
  61.       INFO:
  62.       INFO: atlas_blas_info:
  63.       INFO:   libraries f77blas,cblas,atlas not found in ['/data/data/com.termux/files/usr/lib']
  64.       INFO:   NOT AVAILABLE
  65.       INFO:
  66.       /data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/numpy/distutils/system_info.py:2077: UserWarning:
  67.           Optimized (vendor) Blas libraries are not found.
  68.           Falls back to netlib Blas library which has worse performance.
  69.           A better performance should be easily gained by switching
  70.           Blas library.
  71.         if self._calc_info(blas):
  72.       INFO: blas_info:
  73.       INFO:   libraries blas not found in ['/data/data/com.termux/files/usr/lib']
  74.       INFO:   NOT AVAILABLE
  75.       INFO:
  76.       /data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/numpy/distutils/system_info.py:2077: UserWarning:
  77.           Blas (http://www.netlib.org/blas/) libraries not found.
  78.           Directories to search for the libraries can be specified in the
  79.           numpy/distutils/site.cfg file (section [blas]) or by setting
  80.           the BLAS environment variable.
  81.         if self._calc_info(blas):
  82.       INFO: blas_src_info:
  83.       INFO:   NOT AVAILABLE
  84.       INFO:
  85.       /data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/numpy/distutils/system_info.py:2077: UserWarning:
  86.           Blas (http://www.netlib.org/blas/) sources not found.
  87.           Directories to search for the sources can be specified in the
  88.           numpy/distutils/site.cfg file (section [blas_src]) or by setting
  89.           the BLAS_SRC environment variable.
  90.         if self._calc_info(blas):
  91.       INFO:   NOT AVAILABLE
  92.       INFO:
  93.       non-existing path in 'numpy/distutils': 'site.cfg'
  94.       INFO: lapack_opt_info:
  95.       INFO: lapack_armpl_info:
  96.       INFO:   libraries armpl_lp64_mp not found in ['/data/data/com.termux/files/usr/lib']
  97.       INFO:   NOT AVAILABLE
  98.       INFO:
  99.       INFO: lapack_mkl_info:
  100.       INFO:   libraries mkl_rt not found in ['/data/data/com.termux/files/usr/lib']
  101.       INFO:   NOT AVAILABLE
  102.       INFO:
  103.       INFO: openblas_lapack_info:
  104.       INFO:   libraries openblas not found in ['/data/data/com.termux/files/usr/lib']
  105.       INFO:   NOT AVAILABLE
  106.       INFO:
  107.       INFO: openblas_clapack_info:
  108.       INFO:   libraries openblas,lapack not found in ['/data/data/com.termux/files/usr/lib']
  109.       INFO:   NOT AVAILABLE
  110.       INFO:
  111.       INFO: flame_info:
  112.       INFO:   libraries flame not found in ['/data/data/com.termux/files/usr/lib']
  113.       INFO:   NOT AVAILABLE
  114.       INFO:
  115.       INFO: atlas_3_10_threads_info:
  116.       INFO: Setting PTATLAS=ATLAS
  117.       INFO:   libraries tatlas,tatlas not found in /data/data/com.termux/files/usr/lib
  118.       INFO: <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
  119.       INFO:   NOT AVAILABLE
  120.       INFO:
  121.       INFO: atlas_3_10_info:
  122.       INFO:   libraries satlas,satlas not found in /data/data/com.termux/files/usr/lib
  123.       INFO: <class 'numpy.distutils.system_info.atlas_3_10_info'>
  124.       INFO:   NOT AVAILABLE
  125.       INFO:
  126.       INFO: atlas_threads_info:
  127.       INFO: Setting PTATLAS=ATLAS
  128.       INFO:   libraries ptf77blas,ptcblas,atlas not found in /data/data/com.termux/files/usr/lib
  129.       INFO: <class 'numpy.distutils.system_info.atlas_threads_info'>
  130.       INFO:   NOT AVAILABLE
  131.       INFO:
  132.       INFO: atlas_info:
  133.       INFO:   libraries f77blas,cblas,atlas not found in /data/data/com.termux/files/usr/lib
  134.       INFO: <class 'numpy.distutils.system_info.atlas_info'>
  135.       INFO:   NOT AVAILABLE
  136.       INFO:
  137.       INFO: lapack_info:
  138.       INFO:   libraries lapack not found in ['/data/data/com.termux/files/usr/lib']
  139.       INFO:   NOT AVAILABLE
  140.       INFO:
  141.       /data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/numpy/distutils/system_info.py:1902: UserWarning:
  142.           Lapack (http://www.netlib.org/lapack/) libraries not found.
  143.           Directories to search for the libraries can be specified in the
  144.           numpy/distutils/site.cfg file (section [lapack]) or by setting
  145.           the LAPACK environment variable.
  146.         return getattr(self, '_calc_info_{}'.format(name))()
  147.       INFO: lapack_src_info:
  148.       INFO:   NOT AVAILABLE
  149.       INFO:
  150.       /data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/numpy/distutils/system_info.py:1902: UserWarning:
  151.           Lapack (http://www.netlib.org/lapack/) sources not found.
  152.           Directories to search for the sources can be specified in the
  153.           numpy/distutils/site.cfg file (section [lapack_src]) or by setting
  154.           the LAPACK_SRC environment variable.
  155.         return getattr(self, '_calc_info_{}'.format(name))()
  156.       INFO:   NOT AVAILABLE
  157.       INFO:
  158.       INFO: numpy_linalg_lapack_lite:
  159.       INFO:   FOUND:
  160.       INFO:     language = c
  161.       INFO:     define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
  162.       INFO:
  163.       Warning: attempted relative import with no known parent package
  164.       /data/data/com.termux/files/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
  165.         warnings.warn(msg)
  166.       running bdist_wheel
  167.       running build
  168.       running config_cc
  169.       INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
  170.       running config_fc
  171.       INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
  172.       running build_src
  173.       INFO: build_src
  174.       INFO: building py_modules sources
  175.       creating build
  176.       creating build/src.linux-aarch64-3.10
  177.       creating build/src.linux-aarch64-3.10/numpy
  178.       creating build/src.linux-aarch64-3.10/numpy/distutils
  179.       INFO: building library "npymath" sources
  180.       WARN: Could not locate executable armflang
  181.       WARN: Could not locate executable gfortran
  182.       WARN: Could not locate executable f95
  183.       WARN: Could not locate executable ifort
  184.       WARN: Could not locate executable ifc
  185.       WARN: Could not locate executable lf95
  186.       WARN: Could not locate executable pgfortran
  187.       WARN: Could not locate executable nvfortran
  188.       WARN: Could not locate executable f90
  189.       WARN: Could not locate executable f77
  190.       WARN: Could not locate executable fort
  191.       WARN: Could not locate executable efort
  192.       WARN: Could not locate executable efc
  193.       WARN: Could not locate executable g77
  194.       WARN: Could not locate executable g95
  195.       WARN: Could not locate executable pathf95
  196.       WARN: Could not locate executable nagfor
  197.       WARN: Could not locate executable frt
  198.       WARN: don't know how to compile Fortran code on platform 'posix'
  199.       creating build/src.linux-aarch64-3.10/numpy/core
  200.       creating build/src.linux-aarch64-3.10/numpy/core/src
  201.       creating build/src.linux-aarch64-3.10/numpy/core/src/npymath
  202.       INFO: conv_template:> build/src.linux-aarch64-3.10/numpy/core/src/npymath/npy_math_internal.h
  203.       INFO:   adding 'build/src.linux-aarch64-3.10/numpy/core/src/npymath' to include_dirs.
  204.       INFO: conv_template:> build/src.linux-aarch64-3.10/numpy/core/src/npymath/ieee754.c
  205.       INFO: conv_template:> build/src.linux-aarch64-3.10/numpy/core/src/npymath/npy_math_complex.c
  206.       INFO: None - nothing done with h_files = ['build/src.linux-aarch64-3.10/numpy/core/src/npymath/npy_math_internal.h']
  207.       INFO: building library "npyrandom" sources
  208.       INFO: building extension "numpy.core._multiarray_tests" sources
  209.       creating build/src.linux-aarch64-3.10/numpy/core/src/multiarray
  210.       INFO: conv_template:> build/src.linux-aarch64-3.10/numpy/core/src/multiarray/_multiarray_tests.c
  211.       INFO: building extension "numpy.core._multiarray_umath" sources
  212.       Traceback (most recent call last):
  213.         File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
  214.           main()
  215.         File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
  216.           json_out['return_val'] = hook(**hook_input['kwargs'])
  217.         File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel
  218.           return _build_backend().build_wheel(wheel_directory, config_settings,
  219.         File "/data/data/com.termux/files/usr/tmp/pip-build-env-vdwncruu/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 230, in build_wheel
  220.           return self._build_with_temp_dir(['bdist_wheel'], '.whl',
  221.         File "/data/data/com.termux/files/usr/tmp/pip-build-env-vdwncruu/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
  222.           self.run_setup()
  223.         File "/data/data/com.termux/files/usr/tmp/pip-build-env-vdwncruu/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 267, in run_setup
  224.           super(_BuildMetaLegacyBackend,
  225.         File "/data/data/com.termux/files/usr/tmp/pip-build-env-vdwncruu/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 158, in run_setup
  226.           exec(compile(code, __file__, 'exec'), locals())
  227.         File "setup.py", line 461, in <module>
  228.           setup_package()
  229.         File "setup.py", line 453, in setup_package
  230.           setup(**metadata)
  231.         File "/data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/numpy/distutils/core.py", line 169, in setup
  232.           return old_setup(**new_attr)
  233.         File "/data/data/com.termux/files/usr/tmp/pip-build-env-vdwncruu/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 153, in setup
  234.           return distutils.core.setup(**attrs)
  235.         File "/data/data/com.termux/files/usr/lib/python3.10/distutils/core.py", line 148, in setup
  236.           dist.run_commands()
  237.         File "/data/data/com.termux/files/usr/lib/python3.10/distutils/dist.py", line 966, in run_commands
  238.           self.run_command(cmd)
  239.         File "/data/data/com.termux/files/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
  240.           cmd_obj.run()
  241.         File "/data/data/com.termux/files/usr/tmp/pip-build-env-vdwncruu/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 299, in run
  242.           self.run_command('build')
  243.         File "/data/data/com.termux/files/usr/lib/python3.10/distutils/cmd.py", line 313, in run_command
  244.           self.distribution.run_command(command)
  245.         File "/data/data/com.termux/files/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
  246.           cmd_obj.run()
  247.         File "/data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/numpy/distutils/command/build.py", line 61, in run
  248.           old_build.run(self)
  249.         File "/data/data/com.termux/files/usr/lib/python3.10/distutils/command/build.py", line 135, in run
  250.           self.run_command(cmd_name)
  251.         File "/data/data/com.termux/files/usr/lib/python3.10/distutils/cmd.py", line 313, in run_command
  252.           self.distribution.run_command(command)
  253.         File "/data/data/com.termux/files/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
  254.           cmd_obj.run()
  255.         File "/data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/numpy/distutils/command/build_src.py", line 144, in run
  256.           self.build_sources()
  257.         File "/data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/numpy/distutils/command/build_src.py", line 161, in build_sources
  258.           self.build_extension_sources(ext)
  259.         File "/data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
  260.           sources = self.generate_sources(sources, ext)
  261.         File "/data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/numpy/distutils/command/build_src.py", line 378, in generate_sources
  262.           source = func(extension, build_dir)
  263.         File "/data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/numpy/core/setup.py", line 508, in generate_config_h
  264.           check_math_capabilities(config_cmd, ext, moredefs, mathlibs)
  265.         File "/data/data/com.termux/files/usr/tmp/pip-install-fz3sw1dz/numpy_e4c6bb49082245399ca90cc73750579d/numpy/core/setup.py", line 171, in check_math_capabilities
  266.           raise SystemError("One of the required function to build numpy is not"
  267.       SystemError: One of the required function to build numpy is not available (the list is ['sin', 'cos', 'tan', 'sinh', 'cosh', 'tanh', 'fabs', 'floor', 'ceil', 'sqrt', 'log10', 'log', 'exp', 'asin', 'acos', 'atan', 'fmod', 'modf', 'frexp', 'ldexp']).
  268.       [end of output]
  269.  
  270.   note: This error originates from a subprocess, and is likely not a problem with pip.
  271.   ERROR: Failed building wheel for numpy
  272. Failed to build numpy
  273. ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based p

Raw Paste


Login or Register to edit or fork this paste. It's free.