2019-07-01T10:35:21 Created temporary directory: /tmp/pip-ephem-wheel-cache-hmei1e23 2019-07-01T10:35:21 Created temporary directory: /tmp/pip-req-tracker-vsjav3xt 2019-07-01T10:35:21 Created requirements tracker '/tmp/pip-req-tracker-vsjav3xt' 2019-07-01T10:35:21 Created temporary directory: /tmp/pip-wheel-g2twloe_ 2019-07-01T10:35:21 Collecting lpdec==2015.1 2019-07-01T10:35:21 1 location(s) to search for versions of lpdec: 2019-07-01T10:35:21 * https://pypi.org/simple/lpdec/ 2019-07-01T10:35:21 Getting page https://pypi.org/simple/lpdec/ 2019-07-01T10:35:21 Analyzing links from page https://pypi.org/simple/lpdec/ 2019-07-01T10:35:22 Found link https://files.pythonhosted.org/packages/b2/b2/c34fea5f4b4b5cd6cac6a7ca6d565b7482fe3ccbf743b68c6bb1f7573cc4/lpdec-2014.3.tar.gz#sha256=8ef48420de79ac103ce54af9e0d62511c5e03cd7599f774e12880199d0b2b3a3 (from https://pypi.org/simple/lpdec/), version: 2014.3 2019-07-01T10:35:22 Found link https://files.pythonhosted.org/packages/c3/4a/a8edf71699d7a37313ca60a24d552e0a277cdb0fa363510f36774226c95e/lpdec-2015.1.tar.gz#sha256=e0b3c4427dfb476c9efde86fae64c08098464292b60f09a4de094079be92fab3 (from https://pypi.org/simple/lpdec/), version: 2015.1 2019-07-01T10:35:22 Using version 2015.1 (newest of versions: 2015.1) 2019-07-01T10:35:22 Created temporary directory: /tmp/pip-unpack-wtan593e 2019-07-01T10:35:22 Downloading https://files.pythonhosted.org/packages/c3/4a/a8edf71699d7a37313ca60a24d552e0a277cdb0fa363510f36774226c95e/lpdec-2015.1.tar.gz (1.7MB) 2019-07-01T10:35:22 Downloading from URL https://files.pythonhosted.org/packages/c3/4a/a8edf71699d7a37313ca60a24d552e0a277cdb0fa363510f36774226c95e/lpdec-2015.1.tar.gz#sha256=e0b3c4427dfb476c9efde86fae64c08098464292b60f09a4de094079be92fab3 (from https://pypi.org/simple/lpdec/) 2019-07-01T10:35:24 Added lpdec==2015.1 from https://files.pythonhosted.org/packages/c3/4a/a8edf71699d7a37313ca60a24d552e0a277cdb0fa363510f36774226c95e/lpdec-2015.1.tar.gz#sha256=e0b3c4427dfb476c9efde86fae64c08098464292b60f09a4de094079be92fab3 to build tracker '/tmp/pip-req-tracker-vsjav3xt' 2019-07-01T10:35:24 Running setup.py (path:/tmp/pip-wheel-g2twloe_/lpdec/setup.py) egg_info for package lpdec 2019-07-01T10:35:24 Running command python setup.py egg_info 2019-07-01T10:35:59 /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-g2twloe_/lpdec/lpdec/codes/polar_helpers.pyx 2019-07-01T10:35:59 tree = Parsing.p_module(s, pxd, full_module_name) 2019-07-01T10:35:59 warning: lpdec/codes/polar_helpers.pyx:183:26: Index should be typed for more efficient access 2019-07-01T10:35:59 /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-g2twloe_/lpdec/lpdec/codes/trellis.pxd 2019-07-01T10:35:59 tree = Parsing.p_module(s, pxd, full_module_name) 2019-07-01T10:35:59 /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-g2twloe_/lpdec/lpdec/decoders/adaptivelp_glpk.pyx 2019-07-01T10:35:59 tree = Parsing.p_module(s, pxd, full_module_name) 2019-07-01T10:35:59 Error compiling Cython file: 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 ... 2019-07-01T10:35:59 import numpy as np 2019-07-01T10:35:59 cimport numpy as np 2019-07-01T10:35:59 from numpy.math cimport INFINITY 2019-07-01T10:35:59 from libc.math cimport fabs, sqrt, fmin, fmax, atanh, isnan, tanh 2019-07-01T10:35:59 import gurobimh as g 2019-07-01T10:35:59 cimport gurobimh as g 2019-07-01T10:35:59 ^ 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 lpdec/decoders/adaptivelp_gurobi.pyx:20:8: 'gurobimh.pxd' not found 2019-07-01T10:35:59 Error compiling Cython file: 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 ... 2019-07-01T10:35:59 cdef public double minCutoff, objBufLim, iterationLimit, sdMin, sdMax, sdX 2019-07-01T10:35:59 cdef public int removeInactive, maxRPCrounds, superDual, cutLimit 2019-07-01T10:35:59 cdef np.int_t[:,::1] hmat, htilde 2019-07-01T10:35:59 cdef np.int_t[::1] row 2019-07-01T10:35:59 cdef np.intp_t[::1] successfulCols 2019-07-01T10:35:59 cdef public g.Model model 2019-07-01T10:35:59 ^ 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 lpdec/decoders/adaptivelp_gurobi.pyx:65:16: 'Model' is not a type identifier 2019-07-01T10:35:59 Error compiling Cython file: 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 ... 2019-07-01T10:35:59 cdef public double minCutoff, objBufLim, iterationLimit, sdMin, sdMax, sdX 2019-07-01T10:35:59 cdef public int removeInactive, maxRPCrounds, superDual, cutLimit 2019-07-01T10:35:59 cdef np.int_t[:,::1] hmat, htilde 2019-07-01T10:35:59 cdef np.int_t[::1] row 2019-07-01T10:35:59 cdef np.intp_t[::1] successfulCols 2019-07-01T10:35:59 cdef public g.Model model 2019-07-01T10:35:59 ^ 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 lpdec/decoders/adaptivelp_gurobi.pyx:65:24: C attribute of type '' cannot be accessed from Python 2019-07-01T10:35:59 Error compiling Cython file: 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 ... 2019-07-01T10:35:59 Decoder.setLLRs(self, llrs, sent) 2019-07-01T10:35:59 self.model.update() 2019-07-01T10:35:59 @staticmethod 2019-07-01T10:35:59 cdef int callbackFunction(g.GRBmodel *model, void *cbdata, int where, void *userdata): 2019-07-01T10:35:59 ^ 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 lpdec/decoders/adaptivelp_gurobi.pyx:247:30: 'GRBmodel' is not a type identifier 2019-07-01T10:35:59 Error compiling Cython file: 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 ... 2019-07-01T10:35:59 cdef void removeInactiveConstraints(self): 2019-07-01T10:35:59 """Removes constraints which are not active at the current solution.""" 2019-07-01T10:35:59 cdef int i, removed = 0 2019-07-01T10:35:59 cdef double avgSlack, slack 2019-07-01T10:35:59 cdef g.Constr constr 2019-07-01T10:35:59 ^ 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 lpdec/decoders/adaptivelp_gurobi.pyx:467:13: 'Constr' is not a type identifier 2019-07-01T10:35:59 Error compiling Cython file: 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 ... 2019-07-01T10:35:59 """Remove all but the fixed constraints from the model. 2019-07-01T10:35:59 Usually there are no fixed constraints. In case of all-zero decoding, the zero 2019-07-01T10:35:59 constraints are fixed and not removed by this function. 2019-07-01T10:35:59 """ 2019-07-01T10:35:59 cdef g.Constr constr 2019-07-01T10:35:59 ^ 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 lpdec/decoders/adaptivelp_gurobi.pyx:492:13: 'Constr' is not a type identifier 2019-07-01T10:35:59 Error compiling Cython file: 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 ... 2019-07-01T10:35:59 cdef int callbackFunction(g.GRBmodel *model, void *cbdata, int where, void *userdata): 2019-07-01T10:35:59 """Terminates the simplex algorithm if upper bound is hit.""" 2019-07-01T10:35:59 cdef double ub = dereference(userdata) 2019-07-01T10:35:59 cdef double value 2019-07-01T10:35:59 if where == g.GRB_CB_SIMPLEX: 2019-07-01T10:35:59 g.GRBcbget(cbdata, where, g.GRB_CB_SPX_OBJVAL, &value) 2019-07-01T10:35:59 ^ 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 lpdec/decoders/adaptivelp_gurobi.pyx:252:23: Cannot convert 'void *' to Python object 2019-07-01T10:35:59 Error compiling Cython file: 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 ... 2019-07-01T10:35:59 cdef int callbackFunction(g.GRBmodel *model, void *cbdata, int where, void *userdata): 2019-07-01T10:35:59 """Terminates the simplex algorithm if upper bound is hit.""" 2019-07-01T10:35:59 cdef double ub = dereference(userdata) 2019-07-01T10:35:59 cdef double value 2019-07-01T10:35:59 if where == g.GRB_CB_SIMPLEX: 2019-07-01T10:35:59 g.GRBcbget(cbdata, where, g.GRB_CB_SPX_OBJVAL, &value) 2019-07-01T10:35:59 ^ 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 lpdec/decoders/adaptivelp_gurobi.pyx:252:59: Cannot convert 'void *' to Python object 2019-07-01T10:35:59 Error compiling Cython file: 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 ... 2019-07-01T10:35:59 self.status = Decoder.OPTIMAL 2019-07-01T10:35:59 while True: 2019-07-01T10:35:59 iteration += 1 2019-07-01T10:35:59 self.timer.start() 2019-07-01T10:35:59 if ub < INFINITY: 2019-07-01T10:35:59 g.GRBsetcallbackfunc(self.model.model, self.callbackFunction, &ub) 2019-07-01T10:35:59 ^ 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 lpdec/decoders/adaptivelp_gurobi.pyx:272:59: Cannot convert 'int (, void *, int, void *)' to Python object 2019-07-01T10:35:59 Error compiling Cython file: 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 ... 2019-07-01T10:35:59 self.status = Decoder.OPTIMAL 2019-07-01T10:35:59 while True: 2019-07-01T10:35:59 iteration += 1 2019-07-01T10:35:59 self.timer.start() 2019-07-01T10:35:59 if ub < INFINITY: 2019-07-01T10:35:59 g.GRBsetcallbackfunc(self.model.model, self.callbackFunction, &ub) 2019-07-01T10:35:59 ^ 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 lpdec/decoders/adaptivelp_gurobi.pyx:272:78: Cannot convert 'void *' to Python object 2019-07-01T10:35:59 Error compiling Cython file: 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 ... 2019-07-01T10:35:59 self.timer.start() 2019-07-01T10:35:59 if ub < INFINITY: 2019-07-01T10:35:59 g.GRBsetcallbackfunc(self.model.model, self.callbackFunction, &ub) 2019-07-01T10:35:59 self.model.optimize() 2019-07-01T10:35:59 if ub < INFINITY: 2019-07-01T10:35:59 g.GRBsetcallbackfunc(self.model.model, NULL, NULL) 2019-07-01T10:35:59 ^ 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 lpdec/decoders/adaptivelp_gurobi.pyx:275:55: Cannot convert 'void *' to Python object 2019-07-01T10:35:59 Error compiling Cython file: 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 ... 2019-07-01T10:35:59 self.timer.start() 2019-07-01T10:35:59 if ub < INFINITY: 2019-07-01T10:35:59 g.GRBsetcallbackfunc(self.model.model, self.callbackFunction, &ub) 2019-07-01T10:35:59 self.model.optimize() 2019-07-01T10:35:59 if ub < INFINITY: 2019-07-01T10:35:59 g.GRBsetcallbackfunc(self.model.model, NULL, NULL) 2019-07-01T10:35:59 ^ 2019-07-01T10:35:59 ------------------------------------------------------------ 2019-07-01T10:35:59 lpdec/decoders/adaptivelp_gurobi.pyx:275:61: Cannot convert 'void *' to Python object 2019-07-01T10:35:59 Traceback (most recent call last): 2019-07-01T10:35:59 File "", line 1, in 2019-07-01T10:35:59 File "/tmp/pip-wheel-g2twloe_/lpdec/setup.py", line 86, in 2019-07-01T10:35:59 ext_modules=makeExtensions(), 2019-07-01T10:35:59 File "/tmp/pip-wheel-g2twloe_/lpdec/setup.py", line 39, in makeExtensions 2019-07-01T10:35:59 compiler_directives=directives) 2019-07-01T10:35:59 File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1097, in cythonize 2019-07-01T10:35:59 cythonize_one(*args) 2019-07-01T10:35:59 File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1220, in cythonize_one 2019-07-01T10:35:59 raise CompileError(None, pyx_file) 2019-07-01T10:35:59 Cython.Compiler.Errors.CompileError: lpdec/decoders/adaptivelp_gurobi.pyx 2019-07-01T10:35:59 Compiling lpdec/gfqla.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-01T10:35:59 Compiling lpdec/decoders/iterative.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-01T10:35:59 Compiling lpdec/decoders/adaptivelp_glpk.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-01T10:35:59 Compiling lpdec/decoders/base.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-01T10:35:59 Compiling lpdec/decoders/adaptivelp_gurobi.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-01T10:35:59 Compiling lpdec/decoders/polar.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-01T10:35:59 Compiling lpdec/decoders/branchcut/branching.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-01T10:35:59 Compiling lpdec/decoders/branchcut/node.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-01T10:35:59 Compiling lpdec/decoders/branchcut/decoder.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-01T10:35:59 Compiling lpdec/codes/trellis.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-01T10:35:59 Compiling lpdec/codes/polar_helpers.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-01T10:35:59 [ 1/11] Cythonizing lpdec/codes/polar_helpers.pyx 2019-07-01T10:35:59 [ 2/11] Cythonizing lpdec/codes/trellis.pyx 2019-07-01T10:35:59 [ 3/11] Cythonizing lpdec/decoders/adaptivelp_glpk.pyx 2019-07-01T10:35:59 [ 4/11] Cythonizing lpdec/decoders/adaptivelp_gurobi.pyx 2019-07-01T10:36:00 Cleaning up... 2019-07-01T10:36:00 Removing source in /tmp/pip-wheel-g2twloe_/lpdec 2019-07-01T10:36:00 Removed lpdec==2015.1 from https://files.pythonhosted.org/packages/c3/4a/a8edf71699d7a37313ca60a24d552e0a277cdb0fa363510f36774226c95e/lpdec-2015.1.tar.gz#sha256=e0b3c4427dfb476c9efde86fae64c08098464292b60f09a4de094079be92fab3 from build tracker '/tmp/pip-req-tracker-vsjav3xt' 2019-07-01T10:36:00 Removed build tracker '/tmp/pip-req-tracker-vsjav3xt' 2019-07-01T10:36:00 ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-wheel-g2twloe_/lpdec/ 2019-07-01T10:36:00 Exception information: 2019-07-01T10:36:00 Traceback (most recent call last): 2019-07-01T10:36:00 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-07-01T10:36:00 status = self.run(options, args) 2019-07-01T10:36:00 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 164, in run 2019-07-01T10:36:00 resolver.resolve(requirement_set) 2019-07-01T10:36:00 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolve.py", line 131, in resolve 2019-07-01T10:36:00 self._resolve_one(requirement_set, req) 2019-07-01T10:36:00 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolve.py", line 294, in _resolve_one 2019-07-01T10:36:00 abstract_dist = self._get_abstract_dist_for(req_to_install) 2019-07-01T10:36:00 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolve.py", line 242, in _get_abstract_dist_for 2019-07-01T10:36:00 self.require_hashes 2019-07-01T10:36:00 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 362, in prepare_linked_requirement 2019-07-01T10:36:00 abstract_dist.prep_for_dist(finder, self.build_isolation) 2019-07-01T10:36:00 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 171, in prep_for_dist 2019-07-01T10:36:00 self.req.prepare_metadata() 2019-07-01T10:36:00 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/req/req_install.py", line 537, in prepare_metadata 2019-07-01T10:36:00 self.run_egg_info() 2019-07-01T10:36:00 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/req/req_install.py", line 615, in run_egg_info 2019-07-01T10:36:00 command_desc='python setup.py egg_info') 2019-07-01T10:36:00 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/utils/misc.py", line 776, in call_subprocess 2019-07-01T10:36:00 % (command_desc, proc.returncode, cwd)) 2019-07-01T10:36:00 pip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-wheel-g2twloe_/lpdec/