2023-09-10T12:03:11,700 Created temporary directory: /tmp/pip-build-tracker-k8bzehhc 2023-09-10T12:03:11,701 Initialized build tracking at /tmp/pip-build-tracker-k8bzehhc 2023-09-10T12:03:11,701 Created build tracker: /tmp/pip-build-tracker-k8bzehhc 2023-09-10T12:03:11,702 Entered build tracker: /tmp/pip-build-tracker-k8bzehhc 2023-09-10T12:03:11,702 Created temporary directory: /tmp/pip-wheel-b0x_kg24 2023-09-10T12:03:11,705 Created temporary directory: /tmp/pip-ephem-wheel-cache-btxqff8h 2023-09-10T12:03:11,727 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-10T12:03:11,730 2 location(s) to search for versions of pydensecrf: 2023-09-10T12:03:11,730 * https://pypi.org/simple/pydensecrf/ 2023-09-10T12:03:11,730 * https://www.piwheels.org/simple/pydensecrf/ 2023-09-10T12:03:11,731 Fetching project page and analyzing links: https://pypi.org/simple/pydensecrf/ 2023-09-10T12:03:11,732 Getting page https://pypi.org/simple/pydensecrf/ 2023-09-10T12:03:11,733 Found index url https://pypi.org/simple/ 2023-09-10T12:03:11,873 Fetched page https://pypi.org/simple/pydensecrf/ as application/vnd.pypi.simple.v1+json 2023-09-10T12:03:11,874 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-10T12:03:11,875 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-10T12:03:11,876 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-10T12:03:11,876 Fetching project page and analyzing links: https://www.piwheels.org/simple/pydensecrf/ 2023-09-10T12:03:11,877 Getting page https://www.piwheels.org/simple/pydensecrf/ 2023-09-10T12:03:11,878 Found index url https://www.piwheels.org/simple/ 2023-09-10T12:03:15,564 Fetched page https://www.piwheels.org/simple/pydensecrf/ as text/html 2023-09-10T12:03:15,575 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-10T12:03:15,576 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-10T12:03:15,577 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-10T12:03:15,578 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-10T12:03:15,579 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-10T12:03:15,580 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-10T12:03:15,581 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-10T12:03:15,582 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-10T12:03:15,584 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-10T12:03:15,584 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-10T12:03:15,585 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-10T12:03:15,586 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-10T12:03:15,587 Skipping link: not a file: https://www.piwheels.org/simple/pydensecrf/ 2023-09-10T12:03:15,588 Skipping link: not a file: https://pypi.org/simple/pydensecrf/ 2023-09-10T12:03:15,632 Given no hashes to check 1 links for project 'pydensecrf': discarding no candidates 2023-09-10T12:03:15,654 Collecting pydensecrf==1.0rc3 2023-09-10T12:03:15,657 Created temporary directory: /tmp/pip-unpack-ro3fv83v 2023-09-10T12:03:15,794 Downloading pydensecrf-1.0rc3.tar.gz (1.0 MB) 2023-09-10T12:03:16,768 Added pydensecrf==1.0rc3 from https://files.pythonhosted.org/packages/31/5a/1c2ab48e8019d282c128bc5c621332267bb954d32eecdda3ba57306b1551/pydensecrf-1.0rc3.tar.gz to build tracker '/tmp/pip-build-tracker-k8bzehhc' 2023-09-10T12:03:16,770 Running setup.py (path:/tmp/pip-wheel-b0x_kg24/pydensecrf_a17c01b57b374ec28909b1ace159695c/setup.py) egg_info for package pydensecrf 2023-09-10T12:03:16,771 Created temporary directory: /tmp/pip-pip-egg-info-eyx3jnh3 2023-09-10T12:03:16,771 Preparing metadata (setup.py): started 2023-09-10T12:03:16,773 Running command python setup.py egg_info 2023-09-10T12:03:19,000 /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-b0x_kg24/pydensecrf_a17c01b57b374ec28909b1ace159695c/pydensecrf/densecrf.pxd 2023-09-10T12:03:19,001 tree = Parsing.p_module(s, pxd, full_module_name) 2023-09-10T12:03:19,042 Error compiling Cython file: 2023-09-10T12:03:19,042 ------------------------------------------------------------ 2023-09-10T12:03:19,043 ... 2023-09-10T12:03:19,043 from eigen cimport * 2023-09-10T12:03:19,044 ^ 2023-09-10T12:03:19,044 ------------------------------------------------------------ 2023-09-10T12:03:19,045 pydensecrf/densecrf.pxd:1:0: 'eigen.pxd' not found 2023-09-10T12:03:19,047 Error compiling Cython file: 2023-09-10T12:03:19,047 ------------------------------------------------------------ 2023-09-10T12:03:19,048 ... 2023-09-10T12:03:19,049 cdef cppclass PottsCompatibility(LabelCompatibility): 2023-09-10T12:03:19,049 PottsCompatibility(float) except + 2023-09-10T12:03:19,050 cdef cppclass DiagonalCompatibility(LabelCompatibility): 2023-09-10T12:03:19,051 DiagonalCompatibility(const c_VectorXf&) except + 2023-09-10T12:03:19,051 ^ 2023-09-10T12:03:19,052 ------------------------------------------------------------ 2023-09-10T12:03:19,054 pydensecrf/densecrf.pxd:12:36: 'c_VectorXf' is not a type identifier 2023-09-10T12:03:19,055 Error compiling Cython file: 2023-09-10T12:03:19,055 ------------------------------------------------------------ 2023-09-10T12:03:19,056 ... 2023-09-10T12:03:19,056 cdef cppclass DiagonalCompatibility(LabelCompatibility): 2023-09-10T12:03:19,057 DiagonalCompatibility(const c_VectorXf&) except + 2023-09-10T12:03:19,058 cdef cppclass MatrixCompatibility(LabelCompatibility): 2023-09-10T12:03:19,058 MatrixCompatibility(const c_MatrixXf&) except + 2023-09-10T12:03:19,058 ^ 2023-09-10T12:03:19,059 ------------------------------------------------------------ 2023-09-10T12:03:19,060 pydensecrf/densecrf.pxd:15:34: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,061 Error compiling Cython file: 2023-09-10T12:03:19,061 ------------------------------------------------------------ 2023-09-10T12:03:19,061 ... 2023-09-10T12:03:19,062 cdef extern from "densecrf/include/unary.h": 2023-09-10T12:03:19,062 cdef cppclass UnaryEnergy: 2023-09-10T12:03:19,063 pass 2023-09-10T12:03:19,064 cdef cppclass ConstUnaryEnergy(UnaryEnergy): 2023-09-10T12:03:19,064 ConstUnaryEnergy(const c_MatrixXf& unary) except + 2023-09-10T12:03:19,065 ^ 2023-09-10T12:03:19,065 ------------------------------------------------------------ 2023-09-10T12:03:19,066 pydensecrf/densecrf.pxd:23:31: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,067 Error compiling Cython file: 2023-09-10T12:03:19,067 ------------------------------------------------------------ 2023-09-10T12:03:19,068 ... 2023-09-10T12:03:19,069 cdef cppclass ConstUnaryEnergy(UnaryEnergy): 2023-09-10T12:03:19,069 ConstUnaryEnergy(const c_MatrixXf& unary) except + 2023-09-10T12:03:19,070 cdef cppclass LogisticUnaryEnergy(UnaryEnergy): 2023-09-10T12:03:19,071 LogisticUnaryEnergy(const c_MatrixXf& L, const c_MatrixXf& feature) except + 2023-09-10T12:03:19,071 ^ 2023-09-10T12:03:19,072 ------------------------------------------------------------ 2023-09-10T12:03:19,073 pydensecrf/densecrf.pxd:26:34: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,074 Error compiling Cython file: 2023-09-10T12:03:19,075 ------------------------------------------------------------ 2023-09-10T12:03:19,076 ... 2023-09-10T12:03:19,077 cdef cppclass ConstUnaryEnergy(UnaryEnergy): 2023-09-10T12:03:19,077 ConstUnaryEnergy(const c_MatrixXf& unary) except + 2023-09-10T12:03:19,079 cdef cppclass LogisticUnaryEnergy(UnaryEnergy): 2023-09-10T12:03:19,079 LogisticUnaryEnergy(const c_MatrixXf& L, const c_MatrixXf& feature) except + 2023-09-10T12:03:19,080 ^ 2023-09-10T12:03:19,080 ------------------------------------------------------------ 2023-09-10T12:03:19,081 pydensecrf/densecrf.pxd:26:55: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,082 Error compiling Cython file: 2023-09-10T12:03:19,083 ------------------------------------------------------------ 2023-09-10T12:03:19,084 ... 2023-09-10T12:03:19,084 c_DenseCRF(int N, int M) except + 2023-09-10T12:03:19,085 # Setup methods. 2023-09-10T12:03:19,086 # TODO 2023-09-10T12:03:19,086 #void addPairwiseEnergy(PairwisePotential *potential) 2023-09-10T12:03:19,087 void addPairwiseEnergy(const c_MatrixXf &features, LabelCompatibility*, KernelType, NormalizationType) 2023-09-10T12:03:19,088 ^ 2023-09-10T12:03:19,088 ------------------------------------------------------------ 2023-09-10T12:03:19,090 pydensecrf/densecrf.pxd:54:37: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,091 Error compiling Cython file: 2023-09-10T12:03:19,091 ------------------------------------------------------------ 2023-09-10T12:03:19,092 ... 2023-09-10T12:03:19,093 # Setup methods. 2023-09-10T12:03:19,093 # TODO 2023-09-10T12:03:19,094 #void addPairwiseEnergy(PairwisePotential *potential) 2023-09-10T12:03:19,094 void addPairwiseEnergy(const c_MatrixXf &features, LabelCompatibility*, KernelType, NormalizationType) 2023-09-10T12:03:19,095 void setUnaryEnergy(UnaryEnergy *unary) 2023-09-10T12:03:19,095 void setUnaryEnergy(const c_MatrixXf &unary) 2023-09-10T12:03:19,096 ^ 2023-09-10T12:03:19,096 ------------------------------------------------------------ 2023-09-10T12:03:19,097 pydensecrf/densecrf.pxd:56:34: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,097 Error compiling Cython file: 2023-09-10T12:03:19,098 ------------------------------------------------------------ 2023-09-10T12:03:19,098 ... 2023-09-10T12:03:19,099 # TODO 2023-09-10T12:03:19,099 #void addPairwiseEnergy(PairwisePotential *potential) 2023-09-10T12:03:19,100 void addPairwiseEnergy(const c_MatrixXf &features, LabelCompatibility*, KernelType, NormalizationType) 2023-09-10T12:03:19,100 void setUnaryEnergy(UnaryEnergy *unary) 2023-09-10T12:03:19,100 void setUnaryEnergy(const c_MatrixXf &unary) 2023-09-10T12:03:19,101 void setUnaryEnergy(const c_MatrixXf &L, const c_MatrixXf &feature) 2023-09-10T12:03:19,101 ^ 2023-09-10T12:03:19,102 ------------------------------------------------------------ 2023-09-10T12:03:19,103 pydensecrf/densecrf.pxd:57:34: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,104 Error compiling Cython file: 2023-09-10T12:03:19,104 ------------------------------------------------------------ 2023-09-10T12:03:19,105 ... 2023-09-10T12:03:19,106 # TODO 2023-09-10T12:03:19,106 #void addPairwiseEnergy(PairwisePotential *potential) 2023-09-10T12:03:19,107 void addPairwiseEnergy(const c_MatrixXf &features, LabelCompatibility*, KernelType, NormalizationType) 2023-09-10T12:03:19,107 void setUnaryEnergy(UnaryEnergy *unary) 2023-09-10T12:03:19,108 void setUnaryEnergy(const c_MatrixXf &unary) 2023-09-10T12:03:19,109 void setUnaryEnergy(const c_MatrixXf &L, const c_MatrixXf &feature) 2023-09-10T12:03:19,109 ^ 2023-09-10T12:03:19,110 ------------------------------------------------------------ 2023-09-10T12:03:19,111 pydensecrf/densecrf.pxd:57:55: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,113 Error compiling Cython file: 2023-09-10T12:03:19,113 ------------------------------------------------------------ 2023-09-10T12:03:19,114 ... 2023-09-10T12:03:19,115 void setUnaryEnergy(UnaryEnergy *unary) 2023-09-10T12:03:19,115 void setUnaryEnergy(const c_MatrixXf &unary) 2023-09-10T12:03:19,116 void setUnaryEnergy(const c_MatrixXf &L, const c_MatrixXf &feature) 2023-09-10T12:03:19,117 # Inference methods. 2023-09-10T12:03:19,117 c_MatrixXf inference(int n_iterations) 2023-09-10T12:03:19,118 ^ 2023-09-10T12:03:19,118 ------------------------------------------------------------ 2023-09-10T12:03:19,120 pydensecrf/densecrf.pxd:60:8: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,121 Error compiling Cython file: 2023-09-10T12:03:19,121 ------------------------------------------------------------ 2023-09-10T12:03:19,122 ... 2023-09-10T12:03:19,122 c_MatrixXf inference(int n_iterations) 2023-09-10T12:03:19,123 # TODO: Not enabled because it would require wrapping VectorXs (note the `s`) 2023-09-10T12:03:19,123 #c_VectorXs map(int n_iterations) 2023-09-10T12:03:19,124 # Step-by-step inference methods. 2023-09-10T12:03:19,125 c_MatrixXf startInference() const 2023-09-10T12:03:19,126 ^ 2023-09-10T12:03:19,126 ------------------------------------------------------------ 2023-09-10T12:03:19,127 pydensecrf/densecrf.pxd:65:8: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,128 Error compiling Cython file: 2023-09-10T12:03:19,129 ------------------------------------------------------------ 2023-09-10T12:03:19,129 ... 2023-09-10T12:03:19,129 # TODO: Not enabled because it would require wrapping VectorXs (note the `s`) 2023-09-10T12:03:19,130 #c_VectorXs map(int n_iterations) 2023-09-10T12:03:19,131 # Step-by-step inference methods. 2023-09-10T12:03:19,131 c_MatrixXf startInference() const 2023-09-10T12:03:19,131 void stepInference(c_MatrixXf &Q, c_MatrixXf &tmp1, c_MatrixXf &tmp2) const 2023-09-10T12:03:19,132 ^ 2023-09-10T12:03:19,132 ------------------------------------------------------------ 2023-09-10T12:03:19,133 pydensecrf/densecrf.pxd:66:27: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,134 Error compiling Cython file: 2023-09-10T12:03:19,134 ------------------------------------------------------------ 2023-09-10T12:03:19,135 ... 2023-09-10T12:03:19,135 # TODO: Not enabled because it would require wrapping VectorXs (note the `s`) 2023-09-10T12:03:19,136 #c_VectorXs map(int n_iterations) 2023-09-10T12:03:19,136 # Step-by-step inference methods. 2023-09-10T12:03:19,137 c_MatrixXf startInference() const 2023-09-10T12:03:19,137 void stepInference(c_MatrixXf &Q, c_MatrixXf &tmp1, c_MatrixXf &tmp2) const 2023-09-10T12:03:19,138 ^ 2023-09-10T12:03:19,138 ------------------------------------------------------------ 2023-09-10T12:03:19,139 pydensecrf/densecrf.pxd:66:42: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,140 Error compiling Cython file: 2023-09-10T12:03:19,140 ------------------------------------------------------------ 2023-09-10T12:03:19,141 ... 2023-09-10T12:03:19,141 # TODO: Not enabled because it would require wrapping VectorXs (note the `s`) 2023-09-10T12:03:19,142 #c_VectorXs map(int n_iterations) 2023-09-10T12:03:19,143 # Step-by-step inference methods. 2023-09-10T12:03:19,143 c_MatrixXf startInference() const 2023-09-10T12:03:19,144 void stepInference(c_MatrixXf &Q, c_MatrixXf &tmp1, c_MatrixXf &tmp2) const 2023-09-10T12:03:19,144 ^ 2023-09-10T12:03:19,145 ------------------------------------------------------------ 2023-09-10T12:03:19,146 pydensecrf/densecrf.pxd:66:60: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,147 Error compiling Cython file: 2023-09-10T12:03:19,147 ------------------------------------------------------------ 2023-09-10T12:03:19,148 ... 2023-09-10T12:03:19,148 # Step-by-step inference methods. 2023-09-10T12:03:19,149 c_MatrixXf startInference() const 2023-09-10T12:03:19,149 void stepInference(c_MatrixXf &Q, c_MatrixXf &tmp1, c_MatrixXf &tmp2) const 2023-09-10T12:03:19,150 #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-10T12:03:19,151 double klDivergence(const c_MatrixXf &Q) const 2023-09-10T12:03:19,151 ^ 2023-09-10T12:03:19,152 ------------------------------------------------------------ 2023-09-10T12:03:19,153 pydensecrf/densecrf.pxd:69:34: 'c_MatrixXf' is not a type identifier 2023-09-10T12:03:19,162 warning: pydensecrf/densecrf.pyx:20:4: Unreachable code 2023-09-10T12:03:20,022 Error compiling Cython file: 2023-09-10T12:03:20,023 ------------------------------------------------------------ 2023-09-10T12:03:20,023 ... 2023-09-10T12:03:20,024 return eigen.MatrixXf().wrap(self._this.inference(niter)) 2023-09-10T12:03:20,025 def startInference(self): 2023-09-10T12:03:20,026 return eigen.MatrixXf().wrap(self._this.startInference()), eigen.MatrixXf(), eigen.MatrixXf() 2023-09-10T12:03:20,028 def stepInference(self, MatrixXf Q, MatrixXf tmp1, MatrixXf tmp2): 2023-09-10T12:03:20,028 ^ 2023-09-10T12:03:20,028 ------------------------------------------------------------ 2023-09-10T12:03:20,029 pydensecrf/densecrf.pyx:97:28: 'MatrixXf' is not a type identifier 2023-09-10T12:03:20,030 Error compiling Cython file: 2023-09-10T12:03:20,031 ------------------------------------------------------------ 2023-09-10T12:03:20,031 ... 2023-09-10T12:03:20,032 return eigen.MatrixXf().wrap(self._this.inference(niter)) 2023-09-10T12:03:20,033 def startInference(self): 2023-09-10T12:03:20,033 return eigen.MatrixXf().wrap(self._this.startInference()), eigen.MatrixXf(), eigen.MatrixXf() 2023-09-10T12:03:20,034 def stepInference(self, MatrixXf Q, MatrixXf tmp1, MatrixXf tmp2): 2023-09-10T12:03:20,034 ^ 2023-09-10T12:03:20,035 ------------------------------------------------------------ 2023-09-10T12:03:20,036 pydensecrf/densecrf.pyx:97:40: 'MatrixXf' is not a type identifier 2023-09-10T12:03:20,037 Error compiling Cython file: 2023-09-10T12:03:20,037 ------------------------------------------------------------ 2023-09-10T12:03:20,038 ... 2023-09-10T12:03:20,038 return eigen.MatrixXf().wrap(self._this.inference(niter)) 2023-09-10T12:03:20,039 def startInference(self): 2023-09-10T12:03:20,039 return eigen.MatrixXf().wrap(self._this.startInference()), eigen.MatrixXf(), eigen.MatrixXf() 2023-09-10T12:03:20,040 def stepInference(self, MatrixXf Q, MatrixXf tmp1, MatrixXf tmp2): 2023-09-10T12:03:20,041 ^ 2023-09-10T12:03:20,041 ------------------------------------------------------------ 2023-09-10T12:03:20,043 pydensecrf/densecrf.pyx:97:55: 'MatrixXf' is not a type identifier 2023-09-10T12:03:20,044 Error compiling Cython file: 2023-09-10T12:03:20,044 ------------------------------------------------------------ 2023-09-10T12:03:20,045 ... 2023-09-10T12:03:20,046 return eigen.MatrixXf().wrap(self._this.startInference()), eigen.MatrixXf(), eigen.MatrixXf() 2023-09-10T12:03:20,047 def stepInference(self, MatrixXf Q, MatrixXf tmp1, MatrixXf tmp2): 2023-09-10T12:03:20,048 self._this.stepInference(Q.m, tmp1.m, tmp2.m) 2023-09-10T12:03:20,049 def klDivergence(self, MatrixXf Q): 2023-09-10T12:03:20,050 ^ 2023-09-10T12:03:20,050 ------------------------------------------------------------ 2023-09-10T12:03:20,052 pydensecrf/densecrf.pyx:100:27: 'MatrixXf' is not a type identifier 2023-09-10T12:03:20,157 Error compiling Cython file: 2023-09-10T12:03:20,158 ------------------------------------------------------------ 2023-09-10T12:03:20,158 ... 2023-09-10T12:03:20,159 raise ValueError("Bad shape for pairwise energy (Need (?, {}), got {})".format(self._nvar, (features.shape[0], features.shape[1]))) 2023-09-10T12:03:20,160 self._this.addPairwiseEnergy(eigen.c_matrixXf(features), _labelcomp(compat), kernel, normalization) 2023-09-10T12:03:20,161 def setUnary(self, Unary u): 2023-09-10T12:03:20,162 self._this.setUnaryEnergy(u.move()) 2023-09-10T12:03:20,162 ^ 2023-09-10T12:03:20,163 ------------------------------------------------------------ 2023-09-10T12:03:20,164 pydensecrf/densecrf.pyx:78:33: ambiguous overloaded method 2023-09-10T12:03:22,292 Traceback (most recent call last): 2023-09-10T12:03:22,293 File "", line 2, in 2023-09-10T12:03:22,293 File "", line 34, in 2023-09-10T12:03:22,294 File "/tmp/pip-wheel-b0x_kg24/pydensecrf_a17c01b57b374ec28909b1ace159695c/setup.py", line 13, in 2023-09-10T12:03:22,294 ext_modules = cythonize(['pydensecrf/eigen.pyx', 'pydensecrf/densecrf.pyx']) 2023-09-10T12:03:22,295 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,296 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1134, in cythonize 2023-09-10T12:03:22,297 cythonize_one(*args) 2023-09-10T12:03:22,297 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one 2023-09-10T12:03:22,298 raise CompileError(None, pyx_file) 2023-09-10T12:03:22,299 Cython.Compiler.Errors.CompileError: pydensecrf/densecrf.pyx 2023-09-10T12:03:22,300 Compiling pydensecrf/eigen.pyx because it changed. 2023-09-10T12:03:22,301 Compiling pydensecrf/densecrf.pyx because it changed. 2023-09-10T12:03:22,301 [1/2] Cythonizing pydensecrf/densecrf.pyx 2023-09-10T12:03:22,624 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-09-10T12:03:22,637 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-09-10T12:03:22,637 exec(compile('"'"''"'"''"'"' 2023-09-10T12:03:22,637 # This is -- a caller that pip uses to run setup.py 2023-09-10T12:03:22,637 # 2023-09-10T12:03:22,637 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-10T12:03:22,637 # import from `distutils.core` to work with newer packaging standards. 2023-09-10T12:03:22,637 # - It provides a clear error message when setuptools is not installed. 2023-09-10T12:03:22,637 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-10T12:03:22,637 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-10T12:03:22,637 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-10T12:03:22,637 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-10T12:03:22,637 import os, sys, tokenize 2023-09-10T12:03:22,637 2023-09-10T12:03:22,637 try: 2023-09-10T12:03:22,637 import setuptools 2023-09-10T12:03:22,637 except ImportError as error: 2023-09-10T12:03:22,637 print( 2023-09-10T12:03:22,637 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-10T12:03:22,637 "the build environment.", 2023-09-10T12:03:22,637 file=sys.stderr, 2023-09-10T12:03:22,637 ) 2023-09-10T12:03:22,637 sys.exit(1) 2023-09-10T12:03:22,637 2023-09-10T12:03:22,637 __file__ = %r 2023-09-10T12:03:22,637 sys.argv[0] = __file__ 2023-09-10T12:03:22,637 2023-09-10T12:03:22,637 if os.path.exists(__file__): 2023-09-10T12:03:22,637 filename = __file__ 2023-09-10T12:03:22,637 with tokenize.open(__file__) as f: 2023-09-10T12:03:22,637 setup_py_code = f.read() 2023-09-10T12:03:22,637 else: 2023-09-10T12:03:22,637 filename = "" 2023-09-10T12:03:22,637 setup_py_code = "from setuptools import setup; setup()" 2023-09-10T12:03:22,637 2023-09-10T12:03:22,637 exec(compile(setup_py_code, filename, "exec")) 2023-09-10T12:03:22,637 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-b0x_kg24/pydensecrf_a17c01b57b374ec28909b1ace159695c/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-eyx3jnh3[/] 2023-09-10T12:03:22,637 [bold magenta]cwd[/]: /tmp/pip-wheel-b0x_kg24/pydensecrf_a17c01b57b374ec28909b1ace159695c/ 2023-09-10T12:03:22,638 Preparing metadata (setup.py): finished with status 'error' 2023-09-10T12:03:22,639 ERROR: [present-rich] metadata generation failed 2023-09-10T12:03:22,645 Exception information: 2023-09-10T12:03:22,645 Traceback (most recent call last): 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2023-09-10T12:03:22,645 call_subprocess( 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-09-10T12:03:22,645 raise error 2023-09-10T12:03:22,645 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-09-10T12:03:22,645 2023-09-10T12:03:22,645 The above exception was the direct cause of the following exception: 2023-09-10T12:03:22,645 2023-09-10T12:03:22,645 Traceback (most recent call last): 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-10T12:03:22,645 status = run_func(*args) 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-10T12:03:22,645 return func(self, options, args) 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-09-10T12:03:22,645 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve 2023-09-10T12:03:22,645 result = self._result = resolver.resolve( 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-09-10T12:03:22,645 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-09-10T12:03:22,645 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-09-10T12:03:22,645 if not criterion.candidates: 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-09-10T12:03:22,645 return bool(self._sequence) 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-09-10T12:03:22,645 return any(self) 2023-09-10T12:03:22,645 ^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-09-10T12:03:22,645 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-09-10T12:03:22,645 candidate = func() 2023-09-10T12:03:22,645 ^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link 2023-09-10T12:03:22,645 self._link_candidate_cache[link] = LinkCandidate( 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-09-10T12:03:22,645 super().__init__( 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-09-10T12:03:22,645 self.dist = self._prepare() 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-09-10T12:03:22,645 dist = self._prepare_distribution() 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-09-10T12:03:22,645 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement 2023-09-10T12:03:22,645 return self._prepare_linked_requirement(req, parallel_builds) 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 653, in _prepare_linked_requirement 2023-09-10T12:03:22,645 dist = _get_prepared_distribution( 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution 2023-09-10T12:03:22,645 abstract_dist.prepare_distribution_metadata( 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-09-10T12:03:22,645 self.req.prepare_metadata() 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/req/req_install.py", line 568, in prepare_metadata 2023-09-10T12:03:22,645 self.metadata_directory = generate_metadata_legacy( 2023-09-10T12:03:22,645 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T12:03:22,645 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-09-10T12:03:22,645 raise MetadataGenerationFailed(package_details=details) from error 2023-09-10T12:03:22,645 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-09-10T12:03:22,657 Removed pydensecrf==1.0rc3 from https://files.pythonhosted.org/packages/31/5a/1c2ab48e8019d282c128bc5c621332267bb954d32eecdda3ba57306b1551/pydensecrf-1.0rc3.tar.gz from build tracker '/tmp/pip-build-tracker-k8bzehhc' 2023-09-10T12:03:22,658 Removed build tracker: '/tmp/pip-build-tracker-k8bzehhc'