womesiete

Review

Apr 22nd, 2023
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.12 KB | None | 0 0
  1. pip install numpy Collecting numpy Using cached numpy-1.24.2.tar.gz (10.9 MB) Installing build dependencies ... done
  2. Getting requirements to build wheel ... done
  3. Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: numpy Building wheel for numpy (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for numpy (pyproject.toml) did not run successfully.
  4. │ exit code: 1
  5. ╰─> [202 lines of output] Running from numpy source directory.
  6. setup.py:67: DeprecationWarning:
  7. `numpy.distutils` is deprecated since NumPy 1.23.0, as a result of the deprecation of `distutils` itself. It will be removed for Python >= 3.12. For older Python versions it will remain present.
  8. It is recommended to use `setuptools < 60.0` for those Python versions.
  9. For more details, see:
  10. https://numpy.org/devdocs/reference/distutils_status_migration.html
  11.  
  12.  
  13. import numpy.distutils.command.sdist
  14. Processing numpy/random/_bounded_integers.pxd.in
  15. Processing numpy/random/_bounded_integers.pyx.in
  16. Processing numpy/random/_common.pyx
  17. Processing numpy/random/_generator.pyx
  18. Processing numpy/random/_mt19937.pyx
  19. Processing numpy/random/_pcg64.pyx
  20. Processing numpy/random/_philox.pyx
  21. Processing numpy/random/_sfc64.pyx
  22. Processing numpy/random/bit_generator.pyx
  23. Processing numpy/random/mtrand.pyx
  24. Cythonizing sources
  25. INFO: blas_opt_info:
  26. INFO: blas_armpl_info:
  27. INFO: customize UnixCCompiler
  28. INFO: libraries armpl_lp64_mp not found in ['/data/data/com.termux/files/usr/lib']
  29. INFO: NOT AVAILABLE
  30. INFO:
  31. INFO: blas_mkl_info:
  32. INFO: libraries mkl_rt not found in ['/data/data/com.termux/files/usr/lib']
  33. INFO: NOT AVAILABLE
  34. INFO:
  35. INFO: blis_info:
  36. INFO: libraries blis not found in ['/data/data/com.termux/files/usr/lib']
  37. INFO: NOT AVAILABLE
  38. INFO:
  39. INFO: openblas_info:
  40. INFO: C compiler: aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC
  41.  
  42. creating /data/data/com.termux/files/usr/tmp/tmpsdzr2nh_/data
  43. creating /data/data/com.termux/files/usr/tmp/tmpsdzr2nh_/data/data
  44. creating /data/data/com.termux/files/usr/tmp/tmpsdzr2nh_/data/data/com.termux
  45. creating /data/data/com.termux/files/usr/tmp/tmpsdzr2nh_/data/data/com.termux/files
  46. creating /data/data/com.termux/files/usr/tmp/tmpsdzr2nh_/data/data/com.termux/files/usr
  47. creating /data/data/com.termux/files/usr/tmp/tmpsdzr2nh_/data/data/com.termux/files/usr/tmp
  48. creating /data/data/com.termux/files/usr/tmp/tmpsdzr2nh_/data/data/com.termux/files/usr/tmp/tmpsdzr2nh_
  49. INFO: compile options: '-c'
  50. INFO: aarch64-linux-android-clang: /data/data/com.termux/files/usr/tmp/tmpsdzr2nh_/source.c
  51. INFO: aarch64-linux-android-clang /data/data/com.termux/files/usr/tmp/tmpsdzr2nh_/data/data/com.termux/files/usr/tmp/tmpsdzr2nh_/source.o -L/data/data/com.termux/files/usr/lib -lopenblas -o /data/data/com.termux/files/usr/tmp/tmpsdzr2nh_/a.out
  52. INFO: FOUND:
  53. INFO: libraries = ['openblas', 'openblas']
  54. INFO: library_dirs = ['/data/data/com.termux/files/usr/lib']
  55. INFO: language = c
  56. INFO: define_macros = [('HAVE_CBLAS', None)]
  57. INFO:
  58. INFO: FOUND:
  59. INFO: libraries = ['openblas', 'openblas']
  60. INFO: library_dirs = ['/data/data/com.termux/files/usr/lib']
  61. INFO: language = c
  62. INFO: define_macros = [('HAVE_CBLAS', None)]
  63. INFO:
  64. non-existing path in 'numpy/distutils': 'site.cfg'
  65. INFO: lapack_opt_info:
  66. INFO: lapack_armpl_info:
  67. INFO: libraries armpl_lp64_mp not found in ['/data/data/com.termux/files/usr/lib']
  68. INFO: NOT AVAILABLE
  69. INFO:
  70. INFO: lapack_mkl_info:
  71. INFO: libraries mkl_rt not found in ['/data/data/com.termux/files/usr/lib']
  72. INFO: NOT AVAILABLE
  73. INFO:
  74. INFO: openblas_lapack_info:
  75. INFO: C compiler: aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC
  76.  
  77. creating /data/data/com.termux/files/usr/tmp/tmpolp792e_/data
  78. creating /data/data/com.termux/files/usr/tmp/tmpolp792e_/data/data
  79. creating /data/data/com.termux/files/usr/tmp/tmpolp792e_/data/data/com.termux
  80. creating /data/data/com.termux/files/usr/tmp/tmpolp792e_/data/data/com.termux/files
  81. creating /data/data/com.termux/files/usr/tmp/tmpolp792e_/data/data/com.termux/files/usr
  82. creating /data/data/com.termux/files/usr/tmp/tmpolp792e_/data/data/com.termux/files/usr/tmp
  83. creating /data/data/com.termux/files/usr/tmp/tmpolp792e_/data/data/com.termux/files/usr/tmp/tmpolp792e_
  84. INFO: compile options: '-c'
  85. INFO: aarch64-linux-android-clang: /data/data/com.termux/files/usr/tmp/tmpolp792e_/source.c
  86. INFO: aarch64-linux-android-clang /data/data/com.termux/files/usr/tmp/tmpolp792e_/data/data/com.termux/files/usr/tmp/tmpolp792e_/source.o -L/data/data/com.termux/files/usr/lib -lopenblas -o /data/data/com.termux/files/usr/tmp/tmpolp792e_/a.out
  87. INFO: FOUND:
  88. INFO: libraries = ['openblas', 'openblas']
  89. INFO: library_dirs = ['/data/data/com.termux/files/usr/lib']
  90. INFO: language = c
  91. INFO: define_macros = [('HAVE_CBLAS', None)]
  92. INFO:
  93. INFO: FOUND:
  94. INFO: libraries = ['openblas', 'openblas']
  95. INFO: library_dirs = ['/data/data/com.termux/files/usr/lib']
  96. INFO: language = c
  97. INFO: define_macros = [('HAVE_CBLAS', None)]
  98. INFO:
  99. Warning: attempted relative import with no known parent package
  100. /data/data/com.termux/files/usr/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
  101. warnings.warn(msg)
  102. running bdist_wheel
  103. running build
  104. running config_cc
  105. INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
  106. running config_fc
  107. INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
  108. running build_src
  109. INFO: build_src
  110. INFO: building py_modules sources
  111. creating build
  112. creating build/src.linux-aarch64-3.9
  113. creating build/src.linux-aarch64-3.9/numpy
  114. creating build/src.linux-aarch64-3.9/numpy/distutils
  115. INFO: building library "npymath" sources
  116. WARN: Could not locate executable armflang
  117. WARN: Could not locate executable gfortran
  118. WARN: Could not locate executable f95
  119. WARN: Could not locate executable ifort
  120. WARN: Could not locate executable ifc
  121. WARN: Could not locate executable lf95
  122. WARN: Could not locate executable pgfortran
  123. WARN: Could not locate executable nvfortran
  124. WARN: Could not locate executable f90
  125. WARN: Could not locate executable f77
  126. WARN: Could not locate executable fort
  127. WARN: Could not locate executable efort
  128. WARN: Could not locate executable efc
  129. WARN: Could not locate executable g77
  130. WARN: Could not locate executable g95
  131. WARN: Could not locate executable pathf95
  132. WARN: Could not locate executable nagfor
  133. WARN: Could not locate executable frt
  134. WARN: don't know how to compile Fortran code on platform 'posix'
  135. creating build/src.linux-aarch64-3.9/numpy/core
  136. creating build/src.linux-aarch64-3.9/numpy/core/src
  137. creating build/src.linux-aarch64-3.9/numpy/core/src/npymath
  138. INFO: conv_template:> build/src.linux-aarch64-3.9/numpy/core/src/npymath/npy_math_internal.h
  139. INFO: adding 'build/src.linux-aarch64-3.9/numpy/core/src/npymath' to include_dirs.
  140. INFO: conv_template:> build/src.linux-aarch64-3.9/numpy/core/src/npymath/ieee754.c
  141. INFO: conv_template:> build/src.linux-aarch64-3.9/numpy/core/src/npymath/npy_math_complex.c
  142. INFO: None - nothing done with h_files = ['build/src.linux-aarch64-3.9/numpy/core/src/npymath/npy_math_internal.h']
  143. INFO: building library "npyrandom" sources
  144. INFO: building extension "numpy.core._multiarray_tests" sources
  145. creating build/src.linux-aarch64-3.9/numpy/core/src/multiarray
  146. INFO: conv_template:> build/src.linux-aarch64-3.9/numpy/core/src/multiarray/_multiarray_tests.c
  147. INFO: building extension "numpy.core._multiarray_umath" sources
  148. Traceback (most recent call last):
  149. File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
  150. main()
  151. File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
  152. json_out['return_val'] = hook(**hook_input['kwargs'])
  153. File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
  154. return _build_backend().build_wheel(wheel_directory, config_settings,
  155. File "/data/data/com.termux/files/usr/tmp/pip-build-env-u4w8f51e/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 230, in build_wheel
  156. return self._build_with_temp_dir(['bdist_wheel'], '.whl',
  157. File "/data/data/com.termux/files/usr/tmp/pip-build-env-u4w8f51e/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
  158. self.run_setup()
  159. File "/data/data/com.termux/files/usr/tmp/pip-build-env-u4w8f51e/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 267, in run_setup
  160. super(_BuildMetaLegacyBackend,
  161. File "/data/data/com.termux/files/usr/tmp/pip-build-env-u4w8f51e/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 158, in run_setup
  162. exec(compile(code, __file__, 'exec'), locals())
  163. File "setup.py", line 479, in <module>
  164. setup_package()
  165. File "setup.py", line 471, in setup_package
  166. setup(**metadata)
  167. File "/data/data/com.termux/files/usr/tmp/pip-install-_mih5wv4/numpy_9f358ef2707c4a80bde1c1566bade9f9/numpy/distutils/core.py", line 169, in setup
  168. return old_setup(**new_attr)
  169. File "/data/data/com.termux/files/usr/tmp/pip-build-env-u4w8f51e/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
  170. return distutils.core.setup(**attrs)
  171. File "/data/data/com.termux/files/usr/lib/python3.9/distutils/core.py", line 148, in setup
  172. dist.run_commands()
  173. File "/data/data/com.termux/files/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
  174. self.run_command(cmd)
  175. File "/data/data/com.termux/files/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
  176. cmd_obj.run()
  177. File "/data/data/com.termux/files/usr/tmp/pip-build-env-u4w8f51e/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
  178. self.run_command('build')
  179. File "/data/data/com.termux/files/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
  180. self.distribution.run_command(command)
  181. File "/data/data/com.termux/files/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
  182. cmd_obj.run()
  183. File "/data/data/com.termux/files/usr/tmp/pip-install-_mih5wv4/numpy_9f358ef2707c4a80bde1c1566bade9f9/numpy/distutils/command/build.py", line 62, in run
  184. old_build.run(self)
  185. File "/data/data/com.termux/files/usr/lib/python3.9/distutils/command/build.py", line 135, in run
  186. self.run_command(cmd_name)
  187. File "/data/data/com.termux/files/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
  188. self.distribution.run_command(command)
  189. File "/data/data/com.termux/files/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
  190. cmd_obj.run()
  191. File "/data/data/com.termux/files/usr/tmp/pip-install-_mih5wv4/numpy_9f358ef2707c4a80bde1c1566bade9f9/numpy/distutils/command/build_src.py", line 144, in run
  192. self.build_sources()
  193. File "/data/data/com.termux/files/usr/tmp/pip-install-_mih5wv4/numpy_9f358ef2707c4a80bde1c1566bade9f9/numpy/distutils/command/build_src.py", line 161, in build_sources
  194. self.build_extension_sources(ext)
  195. File "/data/data/com.termux/files/usr/tmp/pip-install-_mih5wv4/numpy_9f358ef2707c4a80bde1c1566bade9f9/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
  196. sources = self.generate_sources(sources, ext)
  197. File "/data/data/com.termux/files/usr/tmp/pip-install-_mih5wv4/numpy_9f358ef2707c4a80bde1c1566bade9f9/numpy/distutils/command/build_src.py", line 378, in generate_sources
  198. source = func(extension, build_dir)
  199. File "numpy/core/setup.py", line 506, in generate_config_h
  200. check_math_capabilities(config_cmd, ext, moredefs, mathlibs)
  201. File "numpy/core/setup.py", line 192, in check_math_capabilities
  202. raise SystemError("One of the required function to build numpy is not"
  203. 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', 'expm1', 'log1p', 'acosh', 'asinh', 'atanh', 'rint', 'trunc', 'exp2', 'copysign', 'nextafter', 'strtoll', 'strtoull', 'cbrt', 'log2', 'pow', 'hypot', 'atan2', 'creal', 'cimag', 'conj']).
  204. [end of output]
  205.  
  206. note: This error originates from a subprocess, and is likely not a problem with pip.
  207. ERROR: Failed building wheel for numpy
  208. Failed to build numpy
  209. ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
  210. ~ $
Advertisement
Add Comment
Please, Sign In to add comment