Advertisement
Guest User

pip install numpy --no-cache-dir

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