2023-09-09T22:35:51,743 Created temporary directory: /tmp/pip-build-tracker-mh4pe7mg 2023-09-09T22:35:51,744 Initialized build tracking at /tmp/pip-build-tracker-mh4pe7mg 2023-09-09T22:35:51,744 Created build tracker: /tmp/pip-build-tracker-mh4pe7mg 2023-09-09T22:35:51,745 Entered build tracker: /tmp/pip-build-tracker-mh4pe7mg 2023-09-09T22:35:51,746 Created temporary directory: /tmp/pip-wheel-vk_7gbj0 2023-09-09T22:35:51,749 Created temporary directory: /tmp/pip-ephem-wheel-cache-0_iu_0hm 2023-09-09T22:35:51,770 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-09T22:35:51,774 2 location(s) to search for versions of pydensecrf: 2023-09-09T22:35:51,774 * https://pypi.org/simple/pydensecrf/ 2023-09-09T22:35:51,774 * https://www.piwheels.org/simple/pydensecrf/ 2023-09-09T22:35:51,775 Fetching project page and analyzing links: https://pypi.org/simple/pydensecrf/ 2023-09-09T22:35:51,775 Getting page https://pypi.org/simple/pydensecrf/ 2023-09-09T22:35:51,777 Found index url https://pypi.org/simple/ 2023-09-09T22:35:52,019 Fetched page https://pypi.org/simple/pydensecrf/ as application/vnd.pypi.simple.v1+json 2023-09-09T22:35:52,021 Found link https://files.pythonhosted.org/packages/87/40/8bca500342914f83d35da61fd7be0c47955156bee87683a6aa1d0e8e040a/pydensecrf-1.0rc1.tar.gz (from https://pypi.org/simple/pydensecrf/), version: 1.0rc1 2023-09-09T22:35:52,021 Found link https://files.pythonhosted.org/packages/dd/11/7a79e817078323893f8071bb3fda1f45e34e443ec4a0790f8542158bbced/pydensecrf-1.0rc2.tar.gz (from https://pypi.org/simple/pydensecrf/), version: 1.0rc2 2023-09-09T22:35:52,022 Found link https://files.pythonhosted.org/packages/31/5a/1c2ab48e8019d282c128bc5c621332267bb954d32eecdda3ba57306b1551/pydensecrf-1.0rc3.tar.gz (from https://pypi.org/simple/pydensecrf/), version: 1.0rc3 2023-09-09T22:35:52,023 Fetching project page and analyzing links: https://www.piwheels.org/simple/pydensecrf/ 2023-09-09T22:35:52,023 Getting page https://www.piwheels.org/simple/pydensecrf/ 2023-09-09T22:35:52,025 Found index url https://www.piwheels.org/simple/ 2023-09-09T22:35:52,330 Fetched page https://www.piwheels.org/simple/pydensecrf/ as text/html 2023-09-09T22:35:52,335 Skipping link: No binaries permitted for pydensecrf: https://www.piwheels.org/simple/pydensecrf/pydensecrf-1.0rc1-cp34-cp34m-linux_armv6l.whl#sha256=243d9cd5d31c6c6b3f9be94fe3483f569f55cadc574b85a5f3850b0cc720a035 (from https://www.piwheels.org/simple/pydensecrf/) 2023-09-09T22:35:52,335 Skipping link: No binaries permitted for pydensecrf: https://www.piwheels.org/simple/pydensecrf/pydensecrf-1.0rc1-cp34-cp34m-linux_armv7l.whl#sha256=243d9cd5d31c6c6b3f9be94fe3483f569f55cadc574b85a5f3850b0cc720a035 (from https://www.piwheels.org/simple/pydensecrf/) 2023-09-09T22:35:52,336 Skipping link: No binaries permitted for pydensecrf: https://www.piwheels.org/simple/pydensecrf/pydensecrf-1.0rc1-cp35-cp35m-linux_armv6l.whl#sha256=ed50ded72e9ee0d18aa6c0a8b83d40251834554a543313f84e90041cdc18b9bd (from https://www.piwheels.org/simple/pydensecrf/) 2023-09-09T22:35:52,337 Skipping link: No binaries permitted for pydensecrf: https://www.piwheels.org/simple/pydensecrf/pydensecrf-1.0rc1-cp35-cp35m-linux_armv7l.whl#sha256=ed50ded72e9ee0d18aa6c0a8b83d40251834554a543313f84e90041cdc18b9bd (from https://www.piwheels.org/simple/pydensecrf/) 2023-09-09T22:35:52,337 Skipping link: No binaries permitted for pydensecrf: https://www.piwheels.org/simple/pydensecrf/pydensecrf-1.0rc2-cp34-cp34m-linux_armv6l.whl#sha256=72376de0d7e5c4f4d20e10701a5c6baff63266ad7b69da29dad270263fe92563 (from https://www.piwheels.org/simple/pydensecrf/) 2023-09-09T22:35:52,338 Skipping link: No binaries permitted for pydensecrf: https://www.piwheels.org/simple/pydensecrf/pydensecrf-1.0rc2-cp34-cp34m-linux_armv7l.whl#sha256=72376de0d7e5c4f4d20e10701a5c6baff63266ad7b69da29dad270263fe92563 (from https://www.piwheels.org/simple/pydensecrf/) 2023-09-09T22:35:52,339 Skipping link: No binaries permitted for pydensecrf: https://www.piwheels.org/simple/pydensecrf/pydensecrf-1.0rc2-cp35-cp35m-linux_armv6l.whl#sha256=9c5ac6c66ed3d66607fa12832a19ce4366c0826d3030e1cd84825d9eb80bedae (from https://www.piwheels.org/simple/pydensecrf/) 2023-09-09T22:35:52,339 Skipping link: No binaries permitted for pydensecrf: https://www.piwheels.org/simple/pydensecrf/pydensecrf-1.0rc2-cp35-cp35m-linux_armv7l.whl#sha256=9c5ac6c66ed3d66607fa12832a19ce4366c0826d3030e1cd84825d9eb80bedae (from https://www.piwheels.org/simple/pydensecrf/) 2023-09-09T22:35:52,340 Skipping link: No binaries permitted for pydensecrf: https://www.piwheels.org/simple/pydensecrf/pydensecrf-1.0rc3-cp34-cp34m-linux_armv6l.whl#sha256=10b3c73f1525f811209ecccc1f6c4c428bf493ddacc88091c8c2f97c5c1a52a4 (from https://www.piwheels.org/simple/pydensecrf/) 2023-09-09T22:35:52,341 Skipping link: No binaries permitted for pydensecrf: https://www.piwheels.org/simple/pydensecrf/pydensecrf-1.0rc3-cp34-cp34m-linux_armv7l.whl#sha256=10b3c73f1525f811209ecccc1f6c4c428bf493ddacc88091c8c2f97c5c1a52a4 (from https://www.piwheels.org/simple/pydensecrf/) 2023-09-09T22:35:52,341 Skipping link: No binaries permitted for pydensecrf: https://www.piwheels.org/simple/pydensecrf/pydensecrf-1.0rc3-cp35-cp35m-linux_armv6l.whl#sha256=097b990b0058792311dc92c8568d434685054fa51dd6c2b2b20a9f81c29e7b1d (from https://www.piwheels.org/simple/pydensecrf/) 2023-09-09T22:35:52,342 Skipping link: No binaries permitted for pydensecrf: https://www.piwheels.org/simple/pydensecrf/pydensecrf-1.0rc3-cp35-cp35m-linux_armv7l.whl#sha256=097b990b0058792311dc92c8568d434685054fa51dd6c2b2b20a9f81c29e7b1d (from https://www.piwheels.org/simple/pydensecrf/) 2023-09-09T22:35:52,342 Skipping link: not a file: https://www.piwheels.org/simple/pydensecrf/ 2023-09-09T22:35:52,343 Skipping link: not a file: https://pypi.org/simple/pydensecrf/ 2023-09-09T22:35:52,361 Given no hashes to check 1 links for project 'pydensecrf': discarding no candidates 2023-09-09T22:35:52,378 Collecting pydensecrf==1.0rc2 2023-09-09T22:35:52,381 Created temporary directory: /tmp/pip-unpack-btlgmdm6 2023-09-09T22:35:53,062 Downloading pydensecrf-1.0rc2.tar.gz (1.0 MB) 2023-09-09T22:35:54,052 Added pydensecrf==1.0rc2 from https://files.pythonhosted.org/packages/dd/11/7a79e817078323893f8071bb3fda1f45e34e443ec4a0790f8542158bbced/pydensecrf-1.0rc2.tar.gz to build tracker '/tmp/pip-build-tracker-mh4pe7mg' 2023-09-09T22:35:54,054 Running setup.py (path:/tmp/pip-wheel-vk_7gbj0/pydensecrf_20f33dbef6d844748e38863843297451/setup.py) egg_info for package pydensecrf 2023-09-09T22:35:54,055 Created temporary directory: /tmp/pip-pip-egg-info-duubuwzc 2023-09-09T22:35:54,056 Preparing metadata (setup.py): started 2023-09-09T22:35:54,057 Running command python setup.py egg_info 2023-09-09T22:35:56,264 /usr/local/lib/python3.11/dist-packages/Cython/Compiler/Main.py:384: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-wheel-vk_7gbj0/pydensecrf_20f33dbef6d844748e38863843297451/pydensecrf/densecrf.pxd 2023-09-09T22:35:56,264 tree = Parsing.p_module(s, pxd, full_module_name) 2023-09-09T22:35:56,305 Error compiling Cython file: 2023-09-09T22:35:56,305 ------------------------------------------------------------ 2023-09-09T22:35:56,306 ... 2023-09-09T22:35:56,307 from eigen cimport * 2023-09-09T22:35:56,307 ^ 2023-09-09T22:35:56,308 ------------------------------------------------------------ 2023-09-09T22:35:56,309 pydensecrf/densecrf.pxd:1:0: 'eigen.pxd' not found 2023-09-09T22:35:56,310 Error compiling Cython file: 2023-09-09T22:35:56,311 ------------------------------------------------------------ 2023-09-09T22:35:56,312 ... 2023-09-09T22:35:56,313 cdef cppclass PottsCompatibility(LabelCompatibility): 2023-09-09T22:35:56,313 PottsCompatibility(float) except + 2023-09-09T22:35:56,315 cdef cppclass DiagonalCompatibility(LabelCompatibility): 2023-09-09T22:35:56,315 DiagonalCompatibility(const c_VectorXf&) except + 2023-09-09T22:35:56,316 ^ 2023-09-09T22:35:56,317 ------------------------------------------------------------ 2023-09-09T22:35:56,318 pydensecrf/densecrf.pxd:12:36: 'c_VectorXf' is not a type identifier 2023-09-09T22:35:56,319 Error compiling Cython file: 2023-09-09T22:35:56,319 ------------------------------------------------------------ 2023-09-09T22:35:56,320 ... 2023-09-09T22:35:56,320 cdef cppclass DiagonalCompatibility(LabelCompatibility): 2023-09-09T22:35:56,321 DiagonalCompatibility(const c_VectorXf&) except + 2023-09-09T22:35:56,322 cdef cppclass MatrixCompatibility(LabelCompatibility): 2023-09-09T22:35:56,322 MatrixCompatibility(const c_MatrixXf&) except + 2023-09-09T22:35:56,323 ^ 2023-09-09T22:35:56,323 ------------------------------------------------------------ 2023-09-09T22:35:56,324 pydensecrf/densecrf.pxd:15:34: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,325 Error compiling Cython file: 2023-09-09T22:35:56,325 ------------------------------------------------------------ 2023-09-09T22:35:56,326 ... 2023-09-09T22:35:56,326 cdef extern from "densecrf/include/unary.h": 2023-09-09T22:35:56,327 cdef cppclass UnaryEnergy: 2023-09-09T22:35:56,327 pass 2023-09-09T22:35:56,328 cdef cppclass ConstUnaryEnergy(UnaryEnergy): 2023-09-09T22:35:56,329 ConstUnaryEnergy(const c_MatrixXf& unary) except + 2023-09-09T22:35:56,329 ^ 2023-09-09T22:35:56,330 ------------------------------------------------------------ 2023-09-09T22:35:56,331 pydensecrf/densecrf.pxd:23:31: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,332 Error compiling Cython file: 2023-09-09T22:35:56,332 ------------------------------------------------------------ 2023-09-09T22:35:56,333 ... 2023-09-09T22:35:56,334 cdef cppclass ConstUnaryEnergy(UnaryEnergy): 2023-09-09T22:35:56,335 ConstUnaryEnergy(const c_MatrixXf& unary) except + 2023-09-09T22:35:56,336 cdef cppclass LogisticUnaryEnergy(UnaryEnergy): 2023-09-09T22:35:56,336 LogisticUnaryEnergy(const c_MatrixXf& L, const c_MatrixXf& feature) except + 2023-09-09T22:35:56,337 ^ 2023-09-09T22:35:56,337 ------------------------------------------------------------ 2023-09-09T22:35:56,338 pydensecrf/densecrf.pxd:26:34: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,339 Error compiling Cython file: 2023-09-09T22:35:56,340 ------------------------------------------------------------ 2023-09-09T22:35:56,340 ... 2023-09-09T22:35:56,341 cdef cppclass ConstUnaryEnergy(UnaryEnergy): 2023-09-09T22:35:56,342 ConstUnaryEnergy(const c_MatrixXf& unary) except + 2023-09-09T22:35:56,343 cdef cppclass LogisticUnaryEnergy(UnaryEnergy): 2023-09-09T22:35:56,344 LogisticUnaryEnergy(const c_MatrixXf& L, const c_MatrixXf& feature) except + 2023-09-09T22:35:56,344 ^ 2023-09-09T22:35:56,345 ------------------------------------------------------------ 2023-09-09T22:35:56,346 pydensecrf/densecrf.pxd:26:55: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,347 Error compiling Cython file: 2023-09-09T22:35:56,347 ------------------------------------------------------------ 2023-09-09T22:35:56,348 ... 2023-09-09T22:35:56,349 c_DenseCRF(int N, int M) except + 2023-09-09T22:35:56,350 # Setup methods. 2023-09-09T22:35:56,350 # TODO 2023-09-09T22:35:56,351 #void addPairwiseEnergy(PairwisePotential *potential) 2023-09-09T22:35:56,351 void addPairwiseEnergy(const c_MatrixXf &features, LabelCompatibility*, KernelType, NormalizationType) 2023-09-09T22:35:56,352 ^ 2023-09-09T22:35:56,353 ------------------------------------------------------------ 2023-09-09T22:35:56,354 pydensecrf/densecrf.pxd:54:37: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,355 Error compiling Cython file: 2023-09-09T22:35:56,356 ------------------------------------------------------------ 2023-09-09T22:35:56,357 ... 2023-09-09T22:35:56,358 # Setup methods. 2023-09-09T22:35:56,358 # TODO 2023-09-09T22:35:56,359 #void addPairwiseEnergy(PairwisePotential *potential) 2023-09-09T22:35:56,359 void addPairwiseEnergy(const c_MatrixXf &features, LabelCompatibility*, KernelType, NormalizationType) 2023-09-09T22:35:56,360 void setUnaryEnergy(UnaryEnergy *unary) 2023-09-09T22:35:56,360 void setUnaryEnergy(const c_MatrixXf &unary) 2023-09-09T22:35:56,361 ^ 2023-09-09T22:35:56,361 ------------------------------------------------------------ 2023-09-09T22:35:56,362 pydensecrf/densecrf.pxd:56:34: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,363 Error compiling Cython file: 2023-09-09T22:35:56,363 ------------------------------------------------------------ 2023-09-09T22:35:56,364 ... 2023-09-09T22:35:56,364 # TODO 2023-09-09T22:35:56,365 #void addPairwiseEnergy(PairwisePotential *potential) 2023-09-09T22:35:56,365 void addPairwiseEnergy(const c_MatrixXf &features, LabelCompatibility*, KernelType, NormalizationType) 2023-09-09T22:35:56,366 void setUnaryEnergy(UnaryEnergy *unary) 2023-09-09T22:35:56,366 void setUnaryEnergy(const c_MatrixXf &unary) 2023-09-09T22:35:56,366 void setUnaryEnergy(const c_MatrixXf &L, const c_MatrixXf &feature) 2023-09-09T22:35:56,367 ^ 2023-09-09T22:35:56,367 ------------------------------------------------------------ 2023-09-09T22:35:56,368 pydensecrf/densecrf.pxd:57:34: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,369 Error compiling Cython file: 2023-09-09T22:35:56,370 ------------------------------------------------------------ 2023-09-09T22:35:56,370 ... 2023-09-09T22:35:56,371 # TODO 2023-09-09T22:35:56,371 #void addPairwiseEnergy(PairwisePotential *potential) 2023-09-09T22:35:56,372 void addPairwiseEnergy(const c_MatrixXf &features, LabelCompatibility*, KernelType, NormalizationType) 2023-09-09T22:35:56,372 void setUnaryEnergy(UnaryEnergy *unary) 2023-09-09T22:35:56,373 void setUnaryEnergy(const c_MatrixXf &unary) 2023-09-09T22:35:56,374 void setUnaryEnergy(const c_MatrixXf &L, const c_MatrixXf &feature) 2023-09-09T22:35:56,374 ^ 2023-09-09T22:35:56,375 ------------------------------------------------------------ 2023-09-09T22:35:56,376 pydensecrf/densecrf.pxd:57:55: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,377 Error compiling Cython file: 2023-09-09T22:35:56,377 ------------------------------------------------------------ 2023-09-09T22:35:56,378 ... 2023-09-09T22:35:56,378 void setUnaryEnergy(UnaryEnergy *unary) 2023-09-09T22:35:56,379 void setUnaryEnergy(const c_MatrixXf &unary) 2023-09-09T22:35:56,380 void setUnaryEnergy(const c_MatrixXf &L, const c_MatrixXf &feature) 2023-09-09T22:35:56,381 # Inference methods. 2023-09-09T22:35:56,382 c_MatrixXf inference(int n_iterations) 2023-09-09T22:35:56,382 ^ 2023-09-09T22:35:56,383 ------------------------------------------------------------ 2023-09-09T22:35:56,384 pydensecrf/densecrf.pxd:60:8: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,385 Error compiling Cython file: 2023-09-09T22:35:56,385 ------------------------------------------------------------ 2023-09-09T22:35:56,386 ... 2023-09-09T22:35:56,386 c_MatrixXf inference(int n_iterations) 2023-09-09T22:35:56,387 # TODO: Not enabled because it would require wrapping VectorXs (note the `s`) 2023-09-09T22:35:56,387 #c_VectorXs map(int n_iterations) 2023-09-09T22:35:56,388 # Step-by-step inference methods. 2023-09-09T22:35:56,389 c_MatrixXf startInference() const 2023-09-09T22:35:56,389 ^ 2023-09-09T22:35:56,390 ------------------------------------------------------------ 2023-09-09T22:35:56,391 pydensecrf/densecrf.pxd:65:8: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,392 Error compiling Cython file: 2023-09-09T22:35:56,392 ------------------------------------------------------------ 2023-09-09T22:35:56,393 ... 2023-09-09T22:35:56,393 # TODO: Not enabled because it would require wrapping VectorXs (note the `s`) 2023-09-09T22:35:56,394 #c_VectorXs map(int n_iterations) 2023-09-09T22:35:56,394 # Step-by-step inference methods. 2023-09-09T22:35:56,395 c_MatrixXf startInference() const 2023-09-09T22:35:56,395 void stepInference(c_MatrixXf &Q, c_MatrixXf &tmp1, c_MatrixXf &tmp2) const 2023-09-09T22:35:56,396 ^ 2023-09-09T22:35:56,396 ------------------------------------------------------------ 2023-09-09T22:35:56,397 pydensecrf/densecrf.pxd:66:27: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,398 Error compiling Cython file: 2023-09-09T22:35:56,398 ------------------------------------------------------------ 2023-09-09T22:35:56,399 ... 2023-09-09T22:35:56,399 # TODO: Not enabled because it would require wrapping VectorXs (note the `s`) 2023-09-09T22:35:56,400 #c_VectorXs map(int n_iterations) 2023-09-09T22:35:56,401 # Step-by-step inference methods. 2023-09-09T22:35:56,401 c_MatrixXf startInference() const 2023-09-09T22:35:56,401 void stepInference(c_MatrixXf &Q, c_MatrixXf &tmp1, c_MatrixXf &tmp2) const 2023-09-09T22:35:56,402 ^ 2023-09-09T22:35:56,402 ------------------------------------------------------------ 2023-09-09T22:35:56,403 pydensecrf/densecrf.pxd:66:42: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,404 Error compiling Cython file: 2023-09-09T22:35:56,405 ------------------------------------------------------------ 2023-09-09T22:35:56,405 ... 2023-09-09T22:35:56,406 # TODO: Not enabled because it would require wrapping VectorXs (note the `s`) 2023-09-09T22:35:56,406 #c_VectorXs map(int n_iterations) 2023-09-09T22:35:56,407 # Step-by-step inference methods. 2023-09-09T22:35:56,408 c_MatrixXf startInference() const 2023-09-09T22:35:56,408 void stepInference(c_MatrixXf &Q, c_MatrixXf &tmp1, c_MatrixXf &tmp2) const 2023-09-09T22:35:56,409 ^ 2023-09-09T22:35:56,409 ------------------------------------------------------------ 2023-09-09T22:35:56,410 pydensecrf/densecrf.pxd:66:60: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,411 Error compiling Cython file: 2023-09-09T22:35:56,412 ------------------------------------------------------------ 2023-09-09T22:35:56,413 ... 2023-09-09T22:35:56,413 # Step-by-step inference methods. 2023-09-09T22:35:56,414 c_MatrixXf startInference() const 2023-09-09T22:35:56,414 void stepInference(c_MatrixXf &Q, c_MatrixXf &tmp1, c_MatrixXf &tmp2) const 2023-09-09T22:35:56,415 #double gradient( int n_iterations, const ObjectiveFunction & objective, c_VectorXf * unary_grad, c_VectorXf * lbl_cmp_grad, c_VectorXf * kernel_grad=NULL ) const; 2023-09-09T22:35:56,416 double klDivergence(const c_MatrixXf &Q) const 2023-09-09T22:35:56,416 ^ 2023-09-09T22:35:56,417 ------------------------------------------------------------ 2023-09-09T22:35:56,418 pydensecrf/densecrf.pxd:69:34: 'c_MatrixXf' is not a type identifier 2023-09-09T22:35:56,418 warning: pydensecrf/densecrf.pyx:20:4: Unreachable code 2023-09-09T22:35:57,286 Error compiling Cython file: 2023-09-09T22:35:57,287 ------------------------------------------------------------ 2023-09-09T22:35:57,287 ... 2023-09-09T22:35:57,288 return eigen.MatrixXf().wrap(self._this.inference(niter)) 2023-09-09T22:35:57,289 def startInference(self): 2023-09-09T22:35:57,290 return eigen.MatrixXf().wrap(self._this.startInference()), eigen.MatrixXf(), eigen.MatrixXf() 2023-09-09T22:35:57,291 def stepInference(self, MatrixXf Q, MatrixXf tmp1, MatrixXf tmp2): 2023-09-09T22:35:57,292 ^ 2023-09-09T22:35:57,292 ------------------------------------------------------------ 2023-09-09T22:35:57,293 pydensecrf/densecrf.pyx:97:28: 'MatrixXf' is not a type identifier 2023-09-09T22:35:57,294 Error compiling Cython file: 2023-09-09T22:35:57,294 ------------------------------------------------------------ 2023-09-09T22:35:57,295 ... 2023-09-09T22:35:57,295 return eigen.MatrixXf().wrap(self._this.inference(niter)) 2023-09-09T22:35:57,296 def startInference(self): 2023-09-09T22:35:57,297 return eigen.MatrixXf().wrap(self._this.startInference()), eigen.MatrixXf(), eigen.MatrixXf() 2023-09-09T22:35:57,298 def stepInference(self, MatrixXf Q, MatrixXf tmp1, MatrixXf tmp2): 2023-09-09T22:35:57,298 ^ 2023-09-09T22:35:57,299 ------------------------------------------------------------ 2023-09-09T22:35:57,300 pydensecrf/densecrf.pyx:97:40: 'MatrixXf' is not a type identifier 2023-09-09T22:35:57,301 Error compiling Cython file: 2023-09-09T22:35:57,301 ------------------------------------------------------------ 2023-09-09T22:35:57,302 ... 2023-09-09T22:35:57,302 return eigen.MatrixXf().wrap(self._this.inference(niter)) 2023-09-09T22:35:57,303 def startInference(self): 2023-09-09T22:35:57,303 return eigen.MatrixXf().wrap(self._this.startInference()), eigen.MatrixXf(), eigen.MatrixXf() 2023-09-09T22:35:57,305 def stepInference(self, MatrixXf Q, MatrixXf tmp1, MatrixXf tmp2): 2023-09-09T22:35:57,305 ^ 2023-09-09T22:35:57,306 ------------------------------------------------------------ 2023-09-09T22:35:57,307 pydensecrf/densecrf.pyx:97:55: 'MatrixXf' is not a type identifier 2023-09-09T22:35:57,308 Error compiling Cython file: 2023-09-09T22:35:57,309 ------------------------------------------------------------ 2023-09-09T22:35:57,309 ... 2023-09-09T22:35:57,310 return eigen.MatrixXf().wrap(self._this.startInference()), eigen.MatrixXf(), eigen.MatrixXf() 2023-09-09T22:35:57,311 def stepInference(self, MatrixXf Q, MatrixXf tmp1, MatrixXf tmp2): 2023-09-09T22:35:57,312 self._this.stepInference(Q.m, tmp1.m, tmp2.m) 2023-09-09T22:35:57,313 def klDivergence(self, MatrixXf Q): 2023-09-09T22:35:57,314 ^ 2023-09-09T22:35:57,314 ------------------------------------------------------------ 2023-09-09T22:35:57,316 pydensecrf/densecrf.pyx:100:27: 'MatrixXf' is not a type identifier 2023-09-09T22:35:57,425 Error compiling Cython file: 2023-09-09T22:35:57,426 ------------------------------------------------------------ 2023-09-09T22:35:57,427 ... 2023-09-09T22:35:57,427 raise ValueError("Bad shape for pairwise energy (Need (?, {}), got {})".format(self._nvar, (features.shape[0], features.shape[1]))) 2023-09-09T22:35:57,429 self._this.addPairwiseEnergy(eigen.c_matrixXf(features), _labelcomp(compat), kernel, normalization) 2023-09-09T22:35:57,430 def setUnary(self, Unary u): 2023-09-09T22:35:57,430 self._this.setUnaryEnergy(u.move()) 2023-09-09T22:35:57,431 ^ 2023-09-09T22:35:57,432 ------------------------------------------------------------ 2023-09-09T22:35:57,433 pydensecrf/densecrf.pyx:78:33: ambiguous overloaded method 2023-09-09T22:35:59,578 Traceback (most recent call last): 2023-09-09T22:35:59,579 File "", line 2, in 2023-09-09T22:35:59,579 File "", line 34, in 2023-09-09T22:35:59,580 File "/tmp/pip-wheel-vk_7gbj0/pydensecrf_20f33dbef6d844748e38863843297451/setup.py", line 13, in 2023-09-09T22:35:59,580 ext_modules = cythonize(['pydensecrf/eigen.pyx', 'pydensecrf/densecrf.pyx']) 2023-09-09T22:35:59,581 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,582 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1134, in cythonize 2023-09-09T22:35:59,582 cythonize_one(*args) 2023-09-09T22:35:59,583 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one 2023-09-09T22:35:59,584 raise CompileError(None, pyx_file) 2023-09-09T22:35:59,585 Cython.Compiler.Errors.CompileError: pydensecrf/densecrf.pyx 2023-09-09T22:35:59,586 Compiling pydensecrf/eigen.pyx because it changed. 2023-09-09T22:35:59,586 Compiling pydensecrf/densecrf.pyx because it changed. 2023-09-09T22:35:59,587 [1/2] Cythonizing pydensecrf/densecrf.pyx 2023-09-09T22:35:59,934 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-09-09T22:35:59,946 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-09-09T22:35:59,946 exec(compile('"'"''"'"''"'"' 2023-09-09T22:35:59,946 # This is -- a caller that pip uses to run setup.py 2023-09-09T22:35:59,946 # 2023-09-09T22:35:59,946 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-09T22:35:59,946 # import from `distutils.core` to work with newer packaging standards. 2023-09-09T22:35:59,946 # - It provides a clear error message when setuptools is not installed. 2023-09-09T22:35:59,946 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-09T22:35:59,946 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-09T22:35:59,946 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-09T22:35:59,946 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-09T22:35:59,946 import os, sys, tokenize 2023-09-09T22:35:59,946 2023-09-09T22:35:59,946 try: 2023-09-09T22:35:59,946 import setuptools 2023-09-09T22:35:59,946 except ImportError as error: 2023-09-09T22:35:59,946 print( 2023-09-09T22:35:59,946 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-09T22:35:59,946 "the build environment.", 2023-09-09T22:35:59,946 file=sys.stderr, 2023-09-09T22:35:59,946 ) 2023-09-09T22:35:59,946 sys.exit(1) 2023-09-09T22:35:59,946 2023-09-09T22:35:59,946 __file__ = %r 2023-09-09T22:35:59,946 sys.argv[0] = __file__ 2023-09-09T22:35:59,946 2023-09-09T22:35:59,946 if os.path.exists(__file__): 2023-09-09T22:35:59,946 filename = __file__ 2023-09-09T22:35:59,946 with tokenize.open(__file__) as f: 2023-09-09T22:35:59,946 setup_py_code = f.read() 2023-09-09T22:35:59,946 else: 2023-09-09T22:35:59,946 filename = "" 2023-09-09T22:35:59,946 setup_py_code = "from setuptools import setup; setup()" 2023-09-09T22:35:59,946 2023-09-09T22:35:59,946 exec(compile(setup_py_code, filename, "exec")) 2023-09-09T22:35:59,946 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-vk_7gbj0/pydensecrf_20f33dbef6d844748e38863843297451/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-duubuwzc[/] 2023-09-09T22:35:59,947 [bold magenta]cwd[/]: /tmp/pip-wheel-vk_7gbj0/pydensecrf_20f33dbef6d844748e38863843297451/ 2023-09-09T22:35:59,947 Preparing metadata (setup.py): finished with status 'error' 2023-09-09T22:35:59,949 ERROR: [present-rich] metadata generation failed 2023-09-09T22:35:59,954 Exception information: 2023-09-09T22:35:59,954 Traceback (most recent call last): 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2023-09-09T22:35:59,954 call_subprocess( 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-09-09T22:35:59,954 raise error 2023-09-09T22:35:59,954 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-09-09T22:35:59,954 2023-09-09T22:35:59,954 The above exception was the direct cause of the following exception: 2023-09-09T22:35:59,954 2023-09-09T22:35:59,954 Traceback (most recent call last): 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-09T22:35:59,954 status = run_func(*args) 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-09T22:35:59,954 return func(self, options, args) 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-09-09T22:35:59,954 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve 2023-09-09T22:35:59,954 result = self._result = resolver.resolve( 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-09-09T22:35:59,954 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-09-09T22:35:59,954 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-09-09T22:35:59,954 if not criterion.candidates: 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-09-09T22:35:59,954 return bool(self._sequence) 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-09-09T22:35:59,954 return any(self) 2023-09-09T22:35:59,954 ^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-09-09T22:35:59,954 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-09-09T22:35:59,954 candidate = func() 2023-09-09T22:35:59,954 ^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link 2023-09-09T22:35:59,954 self._link_candidate_cache[link] = LinkCandidate( 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-09-09T22:35:59,954 super().__init__( 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-09-09T22:35:59,954 self.dist = self._prepare() 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-09-09T22:35:59,954 dist = self._prepare_distribution() 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-09-09T22:35:59,954 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement 2023-09-09T22:35:59,954 return self._prepare_linked_requirement(req, parallel_builds) 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 653, in _prepare_linked_requirement 2023-09-09T22:35:59,954 dist = _get_prepared_distribution( 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution 2023-09-09T22:35:59,954 abstract_dist.prepare_distribution_metadata( 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-09-09T22:35:59,954 self.req.prepare_metadata() 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/req/req_install.py", line 568, in prepare_metadata 2023-09-09T22:35:59,954 self.metadata_directory = generate_metadata_legacy( 2023-09-09T22:35:59,954 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T22:35:59,954 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-09-09T22:35:59,954 raise MetadataGenerationFailed(package_details=details) from error 2023-09-09T22:35:59,954 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-09-09T22:35:59,967 Removed pydensecrf==1.0rc2 from https://files.pythonhosted.org/packages/dd/11/7a79e817078323893f8071bb3fda1f45e34e443ec4a0790f8542158bbced/pydensecrf-1.0rc2.tar.gz from build tracker '/tmp/pip-build-tracker-mh4pe7mg' 2023-09-09T22:35:59,967 Removed build tracker: '/tmp/pip-build-tracker-mh4pe7mg'