2019-07-03T13:13:35 Created temporary directory: /tmp/pip-ephem-wheel-cache-3bth6nif 2019-07-03T13:13:35 Created temporary directory: /tmp/pip-req-tracker-1kw7tjz2 2019-07-03T13:13:35 Created requirements tracker '/tmp/pip-req-tracker-1kw7tjz2' 2019-07-03T13:13:35 Created temporary directory: /tmp/pip-wheel-lfxpo2bc 2019-07-03T13:13:35 Collecting stabilizer-search==1.1.0 2019-07-03T13:13:35 1 location(s) to search for versions of stabilizer-search: 2019-07-03T13:13:35 * https://pypi.org/simple/stabilizer-search/ 2019-07-03T13:13:35 Getting page https://pypi.org/simple/stabilizer-search/ 2019-07-03T13:13:35 Analyzing links from page https://pypi.org/simple/stabilizer-search/ 2019-07-03T13:13:35 Found link https://files.pythonhosted.org/packages/fb/7d/b2dc3e2afba929ed353e8655a1bb69dd8ec20f465ad750451218799f3d42/stabilizer_search-1.0.0.tar.gz#sha256=29470a822eedf0604fbcc0bdb45692b6ad99074fe16cc868d28a35a7017fd440 (from https://pypi.org/simple/stabilizer-search/), version: 1.0.0 2019-07-03T13:13:35 Found link https://files.pythonhosted.org/packages/aa/0a/c66902cf6c2ce45c4c78ef80f85cc112f53af57680783360d49edd043a37/stabilizer_search-1.0.1.post2.tar.gz#sha256=199707cbd4e0ebdf828681bb39a817139e0cc9d02389226953b40124228cf0d7 (from https://pypi.org/simple/stabilizer-search/), version: 1.0.1.post2 2019-07-03T13:13:35 Found link https://files.pythonhosted.org/packages/06/41/9c157afcd060cf544dccae6e26d135973c2fd719e4648dd89685d9633d3c/stabilizer_search-1.0.2.tar.gz#sha256=b8803a9755ae9c0c9c33c1dc44f9051a49ff2814eb4d594d48c49b76e930b130 (from https://pypi.org/simple/stabilizer-search/), version: 1.0.2 2019-07-03T13:13:35 Found link https://files.pythonhosted.org/packages/9c/d7/9589967ca8003fb811aa5505e205afae69216c8f41c802177281a601986f/stabilizer_search-1.0.3.tar.gz#sha256=f384e268e397dc1b1d82b2bb83048e5522f0c4bfd4c9e7585b55e36876f9a3ba (from https://pypi.org/simple/stabilizer-search/), version: 1.0.3 2019-07-03T13:13:35 Found link https://files.pythonhosted.org/packages/10/83/23d7d5303d2b83b753cb7425112a9c1067ee6bae97db29a7345ca2619b18/stabilizer_search-1.0.4.tar.gz#sha256=ba6333e549ee194b6c2b857d8539695dabe7e04c78a98df9fbb18da0d677e1e2 (from https://pypi.org/simple/stabilizer-search/), version: 1.0.4 2019-07-03T13:13:35 Found link https://files.pythonhosted.org/packages/f3/8a/8323c55cf21a1079a243095e7ae9003b397ff69d0b43c262bab3ba14f2d0/stabilizer_search-1.0.5.tar.gz#sha256=e09d65561b17f4e6a97b200b5bd3c51946233e2480a7944efb3f407b623782c0 (from https://pypi.org/simple/stabilizer-search/), version: 1.0.5 2019-07-03T13:13:35 Found link https://files.pythonhosted.org/packages/b5/94/426f3d89d9435e86ddd401e5e588bcfd14c320a66e170920f5ac6e0560d2/stabilizer_search-1.1.0.tar.gz#sha256=d040c7c729f0ca1174eb56375495491b41cba8a51402fc48769f543de24c2114 (from https://pypi.org/simple/stabilizer-search/), version: 1.1.0 2019-07-03T13:13:35 Using version 1.1.0 (newest of versions: 1.1.0) 2019-07-03T13:13:35 Created temporary directory: /tmp/pip-unpack-jjikr74a 2019-07-03T13:13:35 Downloading https://files.pythonhosted.org/packages/b5/94/426f3d89d9435e86ddd401e5e588bcfd14c320a66e170920f5ac6e0560d2/stabilizer_search-1.1.0.tar.gz (249kB) 2019-07-03T13:13:35 Downloading from URL https://files.pythonhosted.org/packages/b5/94/426f3d89d9435e86ddd401e5e588bcfd14c320a66e170920f5ac6e0560d2/stabilizer_search-1.1.0.tar.gz#sha256=d040c7c729f0ca1174eb56375495491b41cba8a51402fc48769f543de24c2114 (from https://pypi.org/simple/stabilizer-search/) 2019-07-03T13:13:36 Added stabilizer-search==1.1.0 from https://files.pythonhosted.org/packages/b5/94/426f3d89d9435e86ddd401e5e588bcfd14c320a66e170920f5ac6e0560d2/stabilizer_search-1.1.0.tar.gz#sha256=d040c7c729f0ca1174eb56375495491b41cba8a51402fc48769f543de24c2114 to build tracker '/tmp/pip-req-tracker-1kw7tjz2' 2019-07-03T13:13:36 Running setup.py (path:/tmp/pip-wheel-lfxpo2bc/stabilizer-search/setup.py) egg_info for package stabilizer-search 2019-07-03T13:13:36 Running command python setup.py egg_info 2019-07-03T13:13:50 /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-lfxpo2bc/stabilizer-search/stabilizer_search/linalg/cy_gram_schmidt.pyx 2019-07-03T13:13:50 tree = Parsing.p_module(s, pxd, full_module_name) 2019-07-03T13:13:50 /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-lfxpo2bc/stabilizer-search/stabilizer_search/search/cy_do_random_walk.pyx 2019-07-03T13:13:50 tree = Parsing.p_module(s, pxd, full_module_name) 2019-07-03T13:13:50 Error compiling Cython file: 2019-07-03T13:13:50 ------------------------------------------------------------ 2019-07-03T13:13:50 ... 2019-07-03T13:13:50 from cpython cimport array 2019-07-03T13:13:50 from libc.math cimport exp 2019-07-03T13:13:50 from copy import deepcopy 2019-07-03T13:13:50 from ..linalg.cy_gram_schmidt cimport ortho_projector 2019-07-03T13:13:50 ^ 2019-07-03T13:13:50 ------------------------------------------------------------ 2019-07-03T13:13:50 stabilizer_search/search/cy_do_random_walk.pyx:13:0: 'stabilizer_search/linalg/cy_gram_schmidt.pxd' not found 2019-07-03T13:13:50 Error compiling Cython file: 2019-07-03T13:13:50 ------------------------------------------------------------ 2019-07-03T13:13:50 ... 2019-07-03T13:13:50 from cpython cimport array 2019-07-03T13:13:50 from libc.math cimport exp 2019-07-03T13:13:50 from copy import deepcopy 2019-07-03T13:13:50 from ..linalg.cy_gram_schmidt cimport ortho_projector 2019-07-03T13:13:50 ^ 2019-07-03T13:13:50 ------------------------------------------------------------ 2019-07-03T13:13:50 stabilizer_search/search/cy_do_random_walk.pyx:13:0: 'stabilizer_search/linalg/cy_gram_schmidt/ortho_projector.pxd' not found 2019-07-03T13:13:50 Error compiling Cython file: 2019-07-03T13:13:50 ------------------------------------------------------------ 2019-07-03T13:13:50 ... 2019-07-03T13:13:50 cdef list stabilizers = get_stabilizer_states(n_qubits, chi, real_only=real) 2019-07-03T13:13:50 cdef np.ndarray[DTYPE_t, ndim=2] projector, new_projector, new_state 2019-07-03T13:13:50 cdef double overlap, new_overlap, new_norm, p_accept 2019-07-03T13:13:50 cdef int counter 2019-07-03T13:13:50 cdef np.ndarray[DTYPE_t, ndim=2] I = np.identity(pow(2, n_qubits), dtype=np.complex128) 2019-07-03T13:13:50 projector = ortho_projector(stabilizers) 2019-07-03T13:13:50 ^ 2019-07-03T13:13:50 ------------------------------------------------------------ 2019-07-03T13:13:50 stabilizer_search/search/cy_do_random_walk.pyx:86:16: 'ortho_projector' is not a constant, variable or function identifier 2019-07-03T13:13:50 Error compiling Cython file: 2019-07-03T13:13:50 ------------------------------------------------------------ 2019-07-03T13:13:50 ... 2019-07-03T13:13:50 new_state = (I+move)*stabilizers[move_target] 2019-07-03T13:13:50 new_norm = np.linalg.norm(new_state, 2) 2019-07-03T13:13:50 new_state = new_state / new_norm 2019-07-03T13:13:50 if not np.allclose(new_norm, 0.): 2019-07-03T13:13:50 break 2019-07-03T13:13:50 new_projector = ortho_projector([s if n != move_target else new_state 2019-07-03T13:13:50 ^ 2019-07-03T13:13:50 ------------------------------------------------------------ 2019-07-03T13:13:50 stabilizer_search/search/cy_do_random_walk.pyx:100:28: 'ortho_projector' is not a constant, variable or function identifier 2019-07-03T13:13:50 Traceback (most recent call last): 2019-07-03T13:13:50 File "", line 1, in 2019-07-03T13:13:50 File "/tmp/pip-wheel-lfxpo2bc/stabilizer-search/setup.py", line 77, in 2019-07-03T13:13:50 ext_modules=cythonize(EXTENSIONS, include_path=["./stabilizer_search/mat/", "./stabilizer_search/linalg/"]), 2019-07-03T13:13:50 File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1097, in cythonize 2019-07-03T13:13:50 cythonize_one(*args) 2019-07-03T13:13:50 File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1220, in cythonize_one 2019-07-03T13:13:50 raise CompileError(None, pyx_file) 2019-07-03T13:13:50 Cython.Compiler.Errors.CompileError: stabilizer_search/search/cy_do_random_walk.pyx 2019-07-03T13:13:50 /usr/lib/python3/dist-packages/numpy/core/include 2019-07-03T13:13:50 Compiling stabilizer_search/stabilizers/cy_eigenstates.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-03T13:13:50 Compiling stabilizer_search/linalg/cy_gram_schmidt.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-03T13:13:50 Compiling stabilizer_search/search/cy_do_random_walk.pyx because it depends on /usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd. 2019-07-03T13:13:50 [1/3] Cythonizing stabilizer_search/linalg/cy_gram_schmidt.pyx 2019-07-03T13:13:50 [2/3] Cythonizing stabilizer_search/search/cy_do_random_walk.pyx 2019-07-03T13:13:51 Cleaning up... 2019-07-03T13:13:51 Removing source in /tmp/pip-wheel-lfxpo2bc/stabilizer-search 2019-07-03T13:13:51 Removed stabilizer-search==1.1.0 from https://files.pythonhosted.org/packages/b5/94/426f3d89d9435e86ddd401e5e588bcfd14c320a66e170920f5ac6e0560d2/stabilizer_search-1.1.0.tar.gz#sha256=d040c7c729f0ca1174eb56375495491b41cba8a51402fc48769f543de24c2114 from build tracker '/tmp/pip-req-tracker-1kw7tjz2' 2019-07-03T13:13:51 Removed build tracker '/tmp/pip-req-tracker-1kw7tjz2' 2019-07-03T13:13:51 ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-wheel-lfxpo2bc/stabilizer-search/ 2019-07-03T13:13:51 Exception information: 2019-07-03T13:13:51 Traceback (most recent call last): 2019-07-03T13:13:51 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-07-03T13:13:51 status = self.run(options, args) 2019-07-03T13:13:51 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/commands/wheel.py", line 164, in run 2019-07-03T13:13:51 resolver.resolve(requirement_set) 2019-07-03T13:13:51 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolve.py", line 131, in resolve 2019-07-03T13:13:51 self._resolve_one(requirement_set, req) 2019-07-03T13:13:51 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolve.py", line 294, in _resolve_one 2019-07-03T13:13:51 abstract_dist = self._get_abstract_dist_for(req_to_install) 2019-07-03T13:13:51 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolve.py", line 242, in _get_abstract_dist_for 2019-07-03T13:13:51 self.require_hashes 2019-07-03T13:13:51 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 362, in prepare_linked_requirement 2019-07-03T13:13:51 abstract_dist.prep_for_dist(finder, self.build_isolation) 2019-07-03T13:13:51 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 171, in prep_for_dist 2019-07-03T13:13:51 self.req.prepare_metadata() 2019-07-03T13:13:51 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 537, in prepare_metadata 2019-07-03T13:13:51 self.run_egg_info() 2019-07-03T13:13:51 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 615, in run_egg_info 2019-07-03T13:13:51 command_desc='python setup.py egg_info') 2019-07-03T13:13:51 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/utils/misc.py", line 776, in call_subprocess 2019-07-03T13:13:51 % (command_desc, proc.returncode, cwd)) 2019-07-03T13:13:51 pip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-wheel-lfxpo2bc/stabilizer-search/