Guest User

Error log for 'pipx install string-grouper' on Arch

a guest
Oct 22nd, 2023
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.69 KB | None | 0 0
  1. PIP STDOUT
  2. ----------
  3. Collecting string-grouper
  4. Using cached string_grouper-0.6.1-py3-none-any.whl (29 kB)
  5. Collecting numpy (from string-grouper)
  6. Using cached numpy-1.26.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
  7. Collecting pandas>=0.25.3 (from string-grouper)
  8. Using cached pandas-2.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
  9. Collecting scikit-learn (from string-grouper)
  10. Using cached scikit_learn-1.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
  11. Collecting scipy (from string-grouper)
  12. Using cached scipy-1.11.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
  13. Collecting sparse-dot-topn-for-blocks>=0.3.1 (from string-grouper)
  14. Using cached sparse_dot_topn_for_blocks-0.3.1.post3.tar.gz (17 kB)
  15. Installing build dependencies: started
  16. Installing build dependencies: finished with status 'done'
  17. Getting requirements to build wheel: started
  18. Getting requirements to build wheel: finished with status 'done'
  19. Installing backend dependencies: started
  20. Installing backend dependencies: finished with status 'done'
  21. Preparing metadata (pyproject.toml): started
  22. Preparing metadata (pyproject.toml): finished with status 'done'
  23. Collecting topn>=0.0.7 (from string-grouper)
  24. Using cached topn-0.0.7-cp311-cp311-linux_x86_64.whl
  25. Collecting python-dateutil>=2.8.2 (from pandas>=0.25.3->string-grouper)
  26. Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
  27. Collecting pytz>=2020.1 (from pandas>=0.25.3->string-grouper)
  28. Using cached pytz-2023.3.post1-py2.py3-none-any.whl.metadata (22 kB)
  29. Collecting tzdata>=2022.1 (from pandas>=0.25.3->string-grouper)
  30. Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
  31. Requirement already satisfied: setuptools>=42 in /home/x/.local/pipx/shared/lib/python3.11/site-packages (from sparse-dot-topn-for-blocks>=0.3.1->string-grouper) (68.2.2)
  32. Collecting cython>=0.29.15 (from sparse-dot-topn-for-blocks>=0.3.1->string-grouper)
  33. Using cached Cython-3.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
  34. Collecting joblib>=1.1.1 (from scikit-learn->string-grouper)
  35. Using cached joblib-1.3.2-py3-none-any.whl.metadata (5.4 kB)
  36. Collecting threadpoolctl>=2.0.0 (from scikit-learn->string-grouper)
  37. Using cached threadpoolctl-3.2.0-py3-none-any.whl.metadata (10.0 kB)
  38. Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas>=0.25.3->string-grouper)
  39. Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
  40. Using cached pandas-2.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.2 MB)
  41. Using cached numpy-1.26.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
  42. Using cached scipy-1.11.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (36.4 MB)
  43. Using cached scikit_learn-1.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB)
  44. Using cached Cython-3.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB)
  45. Using cached joblib-1.3.2-py3-none-any.whl (302 kB)
  46. Using cached pytz-2023.3.post1-py2.py3-none-any.whl (502 kB)
  47. Using cached threadpoolctl-3.2.0-py3-none-any.whl (15 kB)
  48. Building wheels for collected packages: sparse-dot-topn-for-blocks
  49. Building wheel for sparse-dot-topn-for-blocks (pyproject.toml): started
  50. Building wheel for sparse-dot-topn-for-blocks (pyproject.toml): finished with status 'error'
  51. Failed to build sparse-dot-topn-for-blocks
  52.  
  53. PIP STDERR
  54. ----------
  55. error: subprocess-exited-with-error
  56.  
  57. × Building wheel for sparse-dot-topn-for-blocks (pyproject.toml) did not run successfully.
  58. │ exit code: 1
  59. ╰─> [246 lines of output]
  60. /tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/dist.py:314: InformationOnly: Normalizing '0.3.1-3' to '0.3.1.post3'
  61. self.metadata.version = self._normalize_version(
  62. running bdist_wheel
  63. running build
  64. running build_py
  65. creating build
  66. creating build/lib.linux-x86_64-cpython-311
  67. creating build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  68. copying sparse_dot_topn_for_blocks/awesome_cossim_topn.py -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  69. copying sparse_dot_topn_for_blocks/__init__.py -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  70. running egg_info
  71. writing sparse_dot_topn_for_blocks.egg-info/PKG-INFO
  72. writing dependency_links to sparse_dot_topn_for_blocks.egg-info/dependency_links.txt
  73. writing requirements to sparse_dot_topn_for_blocks.egg-info/requires.txt
  74. writing top-level names to sparse_dot_topn_for_blocks.egg-info/top_level.txt
  75. reading manifest file 'sparse_dot_topn_for_blocks.egg-info/SOURCES.txt'
  76. reading manifest template 'MANIFEST.in'
  77. adding license file 'LICENSE'
  78. writing manifest file 'sparse_dot_topn_for_blocks.egg-info/SOURCES.txt'
  79. copying sparse_dot_topn_for_blocks/array_wrappers.pxd -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  80. copying sparse_dot_topn_for_blocks/array_wrappers.pyx -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  81. copying sparse_dot_topn_for_blocks/sparse_dot_topn.pyx -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  82. copying sparse_dot_topn_for_blocks/sparse_dot_topn_parallel.cpp -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  83. copying sparse_dot_topn_for_blocks/sparse_dot_topn_parallel.h -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  84. copying sparse_dot_topn_for_blocks/sparse_dot_topn_source.cpp -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  85. copying sparse_dot_topn_for_blocks/sparse_dot_topn_source.h -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  86. copying sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  87. running build_ext
  88. /tmp/pip-build-env-3gfsbuty/normal/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-wnaqw1qg/sparse-dot-topn-for-blocks_ef193842d70043a1887f88a27dadc725/sparse_dot_topn_for_blocks/array_wrappers.pxd
  89. tree = Parsing.p_module(s, pxd, full_module_name)
  90. Compiling ./sparse_dot_topn_for_blocks/array_wrappers.pyx because it changed.
  91. [1/1] Cythonizing ./sparse_dot_topn_for_blocks/array_wrappers.pyx
  92. building 'sparse_dot_topn_for_blocks.array_wrappers' extension
  93. creating build/temp.linux-x86_64-cpython-311
  94. creating build/temp.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  95. gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -fPIC -I/home/x/.local/pipx/venvs/string-grouper/include -I/usr/include/python3.11 -I/tmp/pip-build-env-3gfsbuty/normal/lib/python3.11/site-packages/numpy/core/include -c ./sparse_dot_topn_for_blocks/array_wrappers.cpp -o build/temp.linux-x86_64-cpython-311/./sparse_dot_topn_for_blocks/array_wrappers.o -std=c++0x -pthread -O3
  96. g++ -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto build/temp.linux-x86_64-cpython-311/./sparse_dot_topn_for_blocks/array_wrappers.o -L/usr/lib -o build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks/array_wrappers.cpython-311-x86_64-linux-gnu.so
  97. /tmp/pip-build-env-3gfsbuty/normal/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-wnaqw1qg/sparse-dot-topn-for-blocks_ef193842d70043a1887f88a27dadc725/sparse_dot_topn_for_blocks/sparse_dot_topn.pyx
  98. tree = Parsing.p_module(s, pxd, full_module_name)
  99.  
  100. Error compiling Cython file:
  101. ------------------------------------------------------------
  102. ...
  103. # April 14, 2021
  104.  
  105. # distutils: language = c++
  106.  
  107. from libcpp.vector cimport vector
  108. from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
  109. ^
  110. ------------------------------------------------------------
  111.  
  112. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:23:0: 'array_wrappers.pxd' not found
  113.  
  114. Error compiling Cython file:
  115. ------------------------------------------------------------
  116. ...
  117. # April 14, 2021
  118.  
  119. # distutils: language = c++
  120.  
  121. from libcpp.vector cimport vector
  122. from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
  123. ^
  124. ------------------------------------------------------------
  125.  
  126. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:23:0: 'array_wrappers/ArrayWrapper_int.pxd' not found
  127.  
  128. Error compiling Cython file:
  129. ------------------------------------------------------------
  130. ...
  131. # April 14, 2021
  132.  
  133. # distutils: language = c++
  134.  
  135. from libcpp.vector cimport vector
  136. from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
  137. ^
  138. ------------------------------------------------------------
  139.  
  140. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:23:0: 'array_wrappers/ArrayWrapper_float.pxd' not found
  141.  
  142. Error compiling Cython file:
  143. ------------------------------------------------------------
  144. ...
  145. # April 14, 2021
  146.  
  147. # distutils: language = c++
  148.  
  149. from libcpp.vector cimport vector
  150. from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
  151. ^
  152. ------------------------------------------------------------
  153.  
  154. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:23:0: 'array_wrappers/ArrayWrapper_double.pxd' not found
  155.  
  156. Error compiling Cython file:
  157. ------------------------------------------------------------
  158. ...
  159. ) except +;
  160.  
  161. cpdef ArrayWrapper_template(vector[float_ft] vCx):
  162. # raise Exception("In sparse_dot_topn.pyx")
  163. if float_ft is float:
  164. return ArrayWrapper_float(vCx)
  165. ^
  166. ------------------------------------------------------------
  167.  
  168. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:116:9: 'ArrayWrapper_float' is not a constant, variable or function identifier
  169.  
  170. Error compiling Cython file:
  171. ------------------------------------------------------------
  172. ...
  173. cpdef ArrayWrapper_template(vector[float_ft] vCx):
  174. # raise Exception("In sparse_dot_topn.pyx")
  175. if float_ft is float:
  176. return ArrayWrapper_float(vCx)
  177. elif float_ft is double:
  178. return ArrayWrapper_double(vCx)
  179. ^
  180. ------------------------------------------------------------
  181.  
  182. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:118:9: 'ArrayWrapper_double' is not a constant, variable or function identifier
  183.  
  184. Error compiling Cython file:
  185. ------------------------------------------------------------
  186. ...
  187.  
  188. if nnz_max_is_too_small:
  189.  
  190. # raise Exception("In sparse_dot_topn.pyx")
  191.  
  192. c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
  193. ^
  194. ------------------------------------------------------------
  195.  
  196. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:209:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
  197.  
  198. Error compiling Cython file:
  199. ------------------------------------------------------------
  200. ...
  201.  
  202. if nnz_max_is_too_small:
  203.  
  204. # raise Exception("In sparse_dot_topn.pyx")
  205.  
  206. c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
  207. ^
  208. ------------------------------------------------------------
  209.  
  210. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:209:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
  211.  
  212. Error compiling Cython file:
  213. ------------------------------------------------------------
  214. ...
  215.  
  216. if nnz_max_is_too_small:
  217.  
  218. # raise Exception("In sparse_dot_topn.pyx")
  219.  
  220. c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
  221. ^
  222. ------------------------------------------------------------
  223.  
  224. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:296:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
  225.  
  226. Error compiling Cython file:
  227. ------------------------------------------------------------
  228. ...
  229.  
  230. if nnz_max_is_too_small:
  231.  
  232. # raise Exception("In sparse_dot_topn.pyx")
  233.  
  234. c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
  235. ^
  236. ------------------------------------------------------------
  237.  
  238. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:296:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
  239. Compiling ./sparse_dot_topn_for_blocks/sparse_dot_topn.pyx because it changed.
  240. [1/1] Cythonizing ./sparse_dot_topn_for_blocks/sparse_dot_topn.pyx
  241. Traceback (most recent call last):
  242. File "/home/x/.local/pipx/shared/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
  243. main()
  244. File "/home/x/.local/pipx/shared/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
  245. json_out['return_val'] = hook(**hook_input['kwargs'])
  246. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  247. File "/home/x/.local/pipx/shared/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
  248. return _build_backend().build_wheel(wheel_directory, config_settings,
  249. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  250. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 434, in build_wheel
  251. return self._build_with_temp_dir(
  252. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  253. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 419, in _build_with_temp_dir
  254. self.run_setup()
  255. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in run_setup
  256. exec(code, locals())
  257. File "<string>", line 65, in <module>
  258. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
  259. return distutils.core.setup(**attrs)
  260. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  261. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
  262. return run_commands(dist)
  263. ^^^^^^^^^^^^^^^^^^
  264. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
  265. dist.run_commands()
  266. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
  267. self.run_command(cmd)
  268. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 989, in run_command
  269. super().run_command(command)
  270. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
  271. cmd_obj.run()
  272. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 364, in run
  273. self.run_command("build")
  274. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
  275. self.distribution.run_command(command)
  276. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 989, in run_command
  277. super().run_command(command)
  278. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
  279. cmd_obj.run()
  280. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run
  281. self.run_command(cmd_name)
  282. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
  283. self.distribution.run_command(command)
  284. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 989, in run_command
  285. super().run_command(command)
  286. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
  287. cmd_obj.run()
  288. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 88, in run
  289. _build_ext.run(self)
  290. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
  291. self.build_extensions()
  292. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
  293. self._build_extensions_serial()
  294. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
  295. self.build_extension(ext)
  296. File "/tmp/pip-build-env-3gfsbuty/overlay/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 249, in build_extension
  297. _build_ext.build_extension(self, ext)
  298. File "/tmp/pip-build-env-3gfsbuty/normal/lib/python3.11/site-packages/Cython/Distutils/build_ext.py", line 130, in build_extension
  299. new_ext = cythonize(
  300. ^^^^^^^^^^
  301. File "/tmp/pip-build-env-3gfsbuty/normal/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
  302. cythonize_one(*args)
  303. File "/tmp/pip-build-env-3gfsbuty/normal/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
  304. raise CompileError(None, pyx_file)
  305. Cython.Compiler.Errors.CompileError: ./sparse_dot_topn_for_blocks/sparse_dot_topn.pyx
  306. [end of output]
  307.  
  308. note: This error originates from a subprocess, and is likely not a problem with pip.
  309. ERROR: Failed building wheel for sparse-dot-topn-for-blocks
  310. ERROR: Could not build wheels for sparse-dot-topn-for-blocks, which is required to install pyproject.toml-based projects
  311.  
Advertisement
Add Comment
Please, Sign In to add comment