JustPaste.it
Building wheels for collected packages: sparse-dot-topn-for-blocks
255 Building wheel for sparse-dot-topn-for-blocks (PEP 517): started
256 Building wheel for sparse-dot-topn-for-blocks (PEP 517): finished with status 'error'
257 ERROR: Command errored out with exit status 1:
258 command: /usr/local/bin/python /usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpnvqsm3ar
259 cwd: /tmp/pip-install-7eim6dh9/sparse-dot-topn-for-blocks
260 Complete output (534 lines):
261 running bdist_wheel
262 running build
263 running build_py
264 creating build
265 creating build/lib.linux-x86_64-3.6
266 creating build/lib.linux-x86_64-3.6/sparse_dot_topn_for_blocks
267 copying sparse_dot_topn_for_blocks/__init__.py -> build/lib.linux-x86_64-3.6/sparse_dot_topn_for_blocks
268 copying sparse_dot_topn_for_blocks/awesome_cossim_topn.py -> build/lib.linux-x86_64-3.6/sparse_dot_topn_for_blocks
269 running egg_info
270 writing sparse_dot_topn_for_blocks.egg-info/PKG-INFO
271 writing dependency_links to sparse_dot_topn_for_blocks.egg-info/dependency_links.txt
272 writing requirements to sparse_dot_topn_for_blocks.egg-info/requires.txt
273 writing top-level names to sparse_dot_topn_for_blocks.egg-info/top_level.txt
274 reading manifest file 'sparse_dot_topn_for_blocks.egg-info/SOURCES.txt'
275 reading manifest template 'MANIFEST.in'
276 warning: no files found matching '*.pyx' under directory 'sparse_dot_topn'
277 warning: no files found matching '*.h' under directory 'sparse_dot_topn'
278 warning: no files found matching '*.pxd' under directory 'sparse_dot_topn'
279 adding license file 'LICENSE'
280 writing manifest file 'sparse_dot_topn_for_blocks.egg-info/SOURCES.txt'
281 copying sparse_dot_topn_for_blocks/array_wrappers.pyx -> build/lib.linux-x86_64-3.6/sparse_dot_topn_for_blocks
282 copying sparse_dot_topn_for_blocks/sparse_dot_topn.pyx -> build/lib.linux-x86_64-3.6/sparse_dot_topn_for_blocks
283 copying sparse_dot_topn_for_blocks/sparse_dot_topn_parallel.cpp -> build/lib.linux-x86_64-3.6/sparse_dot_topn_for_blocks
284 copying sparse_dot_topn_for_blocks/sparse_dot_topn_source.cpp -> build/lib.linux-x86_64-3.6/sparse_dot_topn_for_blocks
285 copying sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx -> build/lib.linux-x86_64-3.6/sparse_dot_topn_for_blocks
286 running build_ext
287 cythoning ./sparse_dot_topn_for_blocks/array_wrappers.pyx to ./sparse_dot_topn_for_blocks/array_wrappers.cpp
288 /tmp/pip-build-env-ivgpnh7v/normal/lib/python3.6/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-7eim6dh9/sparse-dot-topn-for-blocks/sparse_dot_topn_for_blocks/array_wrappers.pyx
289 tree = Parsing.p_module(s, pxd, full_module_name)
291 Error compiling Cython file:
292 ------------------------------------------------------------
293 ...
295 cdef Py_ssize_t itemsize = sizeof(self.vec[0])
297 self.shape[1] = self.vec.size()
298 self.shape[0] = 1
299 self.strides[1] = <Py_ssize_t>( <char *>&(self.vec[1]) - <char *>&(self.vec[0]))
300 ^
301 ------------------------------------------------------------
303 sparse_dot_topn_for_blocks/array_wrappers.pyx:21:49: Cannot take address of Python object
305 Error compiling Cython file:
306 ------------------------------------------------------------
307 ...
309 cdef Py_ssize_t itemsize = sizeof(self.vec[0])
311 self.shape[1] = self.vec.size()
312 self.shape[0] = 1
313 self.strides[1] = <Py_ssize_t>( <char *>&(self.vec[1]) - <char *>&(self.vec[0]))
314 ^
315 ------------------------------------------------------------
317 sparse_dot_topn_for_blocks/array_wrappers.pyx:21:74: Cannot take address of Python object
319 Error compiling Cython file:
320 ------------------------------------------------------------
321 ...
323 self.shape[1] = self.vec.size()
324 self.shape[0] = 1
325 self.strides[1] = <Py_ssize_t>( <char *>&(self.vec[1]) - <char *>&(self.vec[0]))
326 self.strides[0] = self.vec.size() * self.strides[1]
327 buffer.buf = <char *>&(self.vec[0])
328 ^
329 ------------------------------------------------------------
331 sparse_dot_topn_for_blocks/array_wrappers.pyx:23:29: Cannot take address of Python object
333 Error compiling Cython file:
334 ------------------------------------------------------------
335 ...
336 buffer.itemsize = itemsize
337 buffer.len = self.vec.size() * itemsize # product(shape) * itemsize
338 buffer.ndim = 2
339 buffer.obj = self
340 buffer.readonly = 0
341 buffer.shape = self.shape
342 ^
343 ------------------------------------------------------------
345 sparse_dot_topn_for_blocks/array_wrappers.pyx:31:27: Cannot convert Python object to 'Py_ssize_t *'
347 Error compiling Cython file:
348 ------------------------------------------------------------
349 ...
350 buffer.len = self.vec.size() * itemsize # product(shape) * itemsize
351 buffer.ndim = 2
352 buffer.obj = self
353 buffer.readonly = 0
354 buffer.shape = self.shape
355 buffer.strides = self.strides
356 ^
357 ------------------------------------------------------------
359 sparse_dot_topn_for_blocks/array_wrappers.pyx:32:29: Cannot convert Python object to 'Py_ssize_t *'
361 Error compiling Cython file:
362 ------------------------------------------------------------
363 ...
365 cdef Py_ssize_t itemsize = sizeof(self.vec[0])
367 self.shape[1] = self.vec.size()
368 self.shape[0] = 1
369 self.strides[1] = <Py_ssize_t>( <char *>&(self.vec[1]) - <char *>&(self.vec[0]))
370 ^
371 ------------------------------------------------------------
373 sparse_dot_topn_for_blocks/array_wrappers.pyx:57:49: Cannot take address of Python object
375 Error compiling Cython file:
376 ------------------------------------------------------------
377 ...
379 cdef Py_ssize_t itemsize = sizeof(self.vec[0])
381 self.shape[1] = self.vec.size()
382 self.shape[0] = 1
383 self.strides[1] = <Py_ssize_t>( <char *>&(self.vec[1]) - <char *>&(self.vec[0]))
384 ^
385 ------------------------------------------------------------
387 sparse_dot_topn_for_blocks/array_wrappers.pyx:57:74: Cannot take address of Python object
389 Error compiling Cython file:
390 ------------------------------------------------------------
391 ...
393 self.shape[1] = self.vec.size()
394 self.shape[0] = 1
395 self.strides[1] = <Py_ssize_t>( <char *>&(self.vec[1]) - <char *>&(self.vec[0]))
396 self.strides[0] = self.vec.size() * self.strides[1]
397 buffer.buf = <char *>&(self.vec[0])
398 ^
399 ------------------------------------------------------------
401 sparse_dot_topn_for_blocks/array_wrappers.pyx:59:29: Cannot take address of Python object
403 Error compiling Cython file:
404 ------------------------------------------------------------
405 ...
406 buffer.itemsize = itemsize
407 buffer.len = self.vec.size() * itemsize # product(shape) * itemsize
408 buffer.ndim = 2
409 buffer.obj = self
410 buffer.readonly = 0
411 buffer.shape = self.shape
412 ^
413 ------------------------------------------------------------
415 sparse_dot_topn_for_blocks/array_wrappers.pyx:67:27: Cannot convert Python object to 'Py_ssize_t *'
417 Error compiling Cython file:
418 ------------------------------------------------------------
419 ...
420 buffer.len = self.vec.size() * itemsize # product(shape) * itemsize
421 buffer.ndim = 2
422 buffer.obj = self
423 buffer.readonly = 0
424 buffer.shape = self.shape
425 buffer.strides = self.strides
426 ^
427 ------------------------------------------------------------
429 sparse_dot_topn_for_blocks/array_wrappers.pyx:68:29: Cannot convert Python object to 'Py_ssize_t *'
431 Error compiling Cython file:
432 ------------------------------------------------------------
433 ...
435 cdef Py_ssize_t itemsize = sizeof(self.vec[0])
437 self.shape[1] = self.vec.size()
438 self.shape[0] = 1
439 self.strides[1] = <Py_ssize_t>( <char *>&(self.vec[1]) - <char *>&(self.vec[0]))
440 ^
441 ------------------------------------------------------------
443 sparse_dot_topn_for_blocks/array_wrappers.pyx:93:49: Cannot take address of Python object
445 Error compiling Cython file:
446 ------------------------------------------------------------
447 ...
449 cdef Py_ssize_t itemsize = sizeof(self.vec[0])
451 self.shape[1] = self.vec.size()
452 self.shape[0] = 1
453 self.strides[1] = <Py_ssize_t>( <char *>&(self.vec[1]) - <char *>&(self.vec[0]))
454 ^
455 ------------------------------------------------------------
457 sparse_dot_topn_for_blocks/array_wrappers.pyx:93:74: Cannot take address of Python object
459 Error compiling Cython file:
460 ------------------------------------------------------------
461 ...
463 self.shape[1] = self.vec.size()
464 self.shape[0] = 1
465 self.strides[1] = <Py_ssize_t>( <char *>&(self.vec[1]) - <char *>&(self.vec[0]))
466 self.strides[0] = self.vec.size() * self.strides[1]
467 buffer.buf = <char *>&(self.vec[0])
468 ^
469 ------------------------------------------------------------
471 sparse_dot_topn_for_blocks/array_wrappers.pyx:95:29: Cannot take address of Python object
473 Error compiling Cython file:
474 ------------------------------------------------------------
475 ...
476 buffer.itemsize = itemsize
477 buffer.len = self.vec.size() * itemsize # product(shape) * itemsize
478 buffer.ndim = 2
479 buffer.obj = self
480 buffer.readonly = 0
481 buffer.shape = self.shape
482 ^
483 ------------------------------------------------------------
485 sparse_dot_topn_for_blocks/array_wrappers.pyx:103:27: Cannot convert Python object to 'Py_ssize_t *'
486 cythoning ./sparse_dot_topn_for_blocks/sparse_dot_topn.pyx to ./sparse_dot_topn_for_blocks/sparse_dot_topn.cpp
487 cythoning ./sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx to ./sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.cpp
489 Error compiling Cython file:
490 ------------------------------------------------------------
491 ...
492 buffer.len = self.vec.size() * itemsize # product(shape) * itemsize
493 buffer.ndim = 2
494 buffer.obj = self
495 buffer.readonly = 0
496 buffer.shape = self.shape
497 buffer.strides = self.strides
498 ^
499 ------------------------------------------------------------
501 sparse_dot_topn_for_blocks/array_wrappers.pyx:104:29: Cannot convert Python object to 'Py_ssize_t *'
502 /tmp/pip-build-env-ivgpnh7v/normal/lib/python3.6/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-7eim6dh9/sparse-dot-topn-for-blocks/sparse_dot_topn_for_blocks/sparse_dot_topn.pyx
503 tree = Parsing.p_module(s, pxd, full_module_name)
505 Error compiling Cython file:
506 ------------------------------------------------------------
507 ...
508 # April 14, 2021
510 # distutils: language = c++
512 from libcpp.vector cimport vector
513 from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
514 ^
515 ------------------------------------------------------------
517 sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:23:0: 'array_wrappers.pxd' not found
519 Error compiling Cython file:
520 ------------------------------------------------------------
521 ...
522 # April 14, 2021
524 # distutils: language = c++
526 from libcpp.vector cimport vector
527 from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
528 ^
529 ------------------------------------------------------------
531 sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:23:0: 'array_wrappers/ArrayWrapper_int.pxd' not found
533 Error compiling Cython file:
534 ------------------------------------------------------------
535 ...
536 # April 14, 2021
538 # distutils: language = c++
540 from libcpp.vector cimport vector
541 from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
542 ^
543 ------------------------------------------------------------
545 sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:23:0: 'array_wrappers/ArrayWrapper_float.pxd' not found
547 Error compiling Cython file:
548 ------------------------------------------------------------
549 ...
550 # April 14, 2021
552 # distutils: language = c++
554 from libcpp.vector cimport vector
555 from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
556 ^
557 ------------------------------------------------------------
559 sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:23:0: 'array_wrappers/ArrayWrapper_double.pxd' not found
561 Error compiling Cython file:
562 ------------------------------------------------------------
563 ...
564 ) except +;
566 cpdef ArrayWrapper_template(vector[float_ft] vCx):
567 # raise Exception("In sparse_dot_topn.pyx")
568 if float_ft is float:
569 return ArrayWrapper_float(vCx)
570 ^
571 ------------------------------------------------------------
573 sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:96:9: 'ArrayWrapper_float' is not a constant, variable or function identifier
575 Error compiling Cython file:
576 ------------------------------------------------------------
577 ...
578 cpdef ArrayWrapper_template(vector[float_ft] vCx):
579 # raise Exception("In sparse_dot_topn.pyx")
580 if float_ft is float:
581 return ArrayWrapper_float(vCx)
582 elif float_ft is double:
583 return ArrayWrapper_double(vCx)
584 ^
585 ------------------------------------------------------------
587 sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:98:9: 'ArrayWrapper_double' is not a constant, variable or function identifier
589 Error compiling Cython file:
590 ------------------------------------------------------------
591 ...
593 if nnz_max_is_too_small:
595 # raise Exception("In sparse_dot_topn.pyx")
597 c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
598 ^
599 ------------------------------------------------------------
601 sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:182:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
603 Error compiling Cython file:
604 ------------------------------------------------------------
605 ...
607 if nnz_max_is_too_small:
609 # raise Exception("In sparse_dot_topn.pyx")
611 c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
612 ^
613 ------------------------------------------------------------
615 sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:182:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
617 Error compiling Cython file:
618 ------------------------------------------------------------
619 ...
621 if nnz_max_is_too_small:
623 # raise Exception("In sparse_dot_topn.pyx")
625 c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
626 ^
627 ------------------------------------------------------------
629 sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:269:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
631 Error compiling Cython file:
632 ------------------------------------------------------------
633 ...
635 if nnz_max_is_too_small:
637 # raise Exception("In sparse_dot_topn.pyx")
639 c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
640 ^
641 ------------------------------------------------------------
643 sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:269:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
644 /tmp/pip-build-env-ivgpnh7v/normal/lib/python3.6/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-7eim6dh9/sparse-dot-topn-for-blocks/sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx
645 tree = Parsing.p_module(s, pxd, full_module_name)
647 Error compiling Cython file:
648 ------------------------------------------------------------
649 ...
650 # April 14, 2021
652 # distutils: language = c++
654 from libcpp.vector cimport vector
655 from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
656 ^
657 ------------------------------------------------------------
659 sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx:23:0: 'array_wrappers.pxd' not found
661 Error compiling Cython file:
662 ------------------------------------------------------------
663 ...
664 # April 14, 2021
666 # distutils: language = c++
668 from libcpp.vector cimport vector
669 from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
670 ^
671 ------------------------------------------------------------
673 sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx:23:0: 'array_wrappers/ArrayWrapper_int.pxd' not found
675 Error compiling Cython file:
676 ------------------------------------------------------------
677 ...
678 # April 14, 2021
680 # distutils: language = c++
682 from libcpp.vector cimport vector
683 from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
684 ^
685 ------------------------------------------------------------
687 sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx:23:0: 'array_wrappers/ArrayWrapper_float.pxd' not found
689 Error compiling Cython file:
690 ------------------------------------------------------------
691 ...
692 # April 14, 2021
694 # distutils: language = c++
696 from libcpp.vector cimport vector
697 from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
698 ^
699 ------------------------------------------------------------
701 sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx:23:0: 'array_wrappers/ArrayWrapper_double.pxd' not found
703 Error compiling Cython file:
704 ------------------------------------------------------------
705 ...
707 if nnz_max_is_too_small:
709 # raise Exception("In sparse_dot_topn_threaded.pyx")
711 c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
712 ^
713 ------------------------------------------------------------
715 sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx:142:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
717 Error compiling Cython file:
718 ------------------------------------------------------------
719 ...
721 if nnz_max_is_too_small:
723 # raise Exception("In sparse_dot_topn_threaded.pyx")
725 c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
726 ^
727 ------------------------------------------------------------
729 sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx:142:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
730 building 'sparse_dot_topn_for_blocks.array_wrappers' extension
731 creating build/temp.linux-x86_64-3.6
732 creating build/temp.linux-x86_64-3.6/sparse_dot_topn_for_blocks
733 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python3.6m -I/tmp/pip-build-env-ivgpnh7v/normal/lib/python3.6/site-packages/numpy/core/include -c ./sparse_dot_topn_for_blocks/array_wrappers.cpp -o build/temp.linux-x86_64-3.6/./sparse_dot_topn_for_blocks/array_wrappers.o -std=c++0x -pthread -O3
734 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
735 ./sparse_dot_topn_for_blocks/array_wrappers.cpp:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
736 #error Do not use this file, it is the result of a failed Cython compilation.
737 ^~~~~
739 Error compiling Cython file:
740 ------------------------------------------------------------
741 ...
742 return None, None
744 cpdef ArrayWrapper_template(vector[float_ft] vCx):
745 # raise Exception("In sparse_dot_topn_threaded.pyx")
746 if float_ft is float:
747 return ArrayWrapper_float(vCx)
748 ^
749 ------------------------------------------------------------
751 sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx:154:9: 'ArrayWrapper_float' is not a constant, variable or function identifier
753 Error compiling Cython file:
754 ------------------------------------------------------------
755 ...
756 cpdef ArrayWrapper_template(vector[float_ft] vCx):
757 # raise Exception("In sparse_dot_topn_threaded.pyx")
758 if float_ft is float:
759 return ArrayWrapper_float(vCx)
760 elif float_ft is double:
761 return ArrayWrapper_double(vCx)
762 ^
763 ------------------------------------------------------------
765 sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx:156:9: 'ArrayWrapper_double' is not a constant, variable or function identifier
767 Error compiling Cython file:
768 ------------------------------------------------------------
769 ...
771 if nnz_max_is_too_small:
773 # raise Exception("In sparse_dot_topn_threaded.pyx")
775 c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
776 ^
777 ------------------------------------------------------------
779 sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx:202:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
781 Error compiling Cython file:
782 ------------------------------------------------------------
783 ...
785 if nnz_max_is_too_small:
787 # raise Exception("In sparse_dot_topn_threaded.pyx")
789 c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
790 ^
791 ------------------------------------------------------------
793 sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx:202:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
794 error: command 'gcc' failed with exit status 1
795 ----------------------------------------
796 ERROR: Failed building wheel for sparse-dot-topn-for-blocks
797Failed to build sparse-dot-topn-for-blocks
798ERROR: Could not build wheels for sparse-dot-topn-for-blocks which use PEP 517 and cannot be installed directly