Installing collected packages: numpy Running setup.py install for numpy ... error ERROR: Complete output from command /home/tcaswell/.virtualenvs/bleeding/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-req-build-gxlzajxt/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ijeg2s9f/install-record.txt --single-version-externally-managed --compile --install-headers /home/tcaswell/.virtualenvs/bleeding/include/site/python3.9/numpy: ERROR: Note: if you need reliable uninstall behavior, then install with pip instead of using `setup.py install`: - `pip install .` (from a git repo or downloaded source release) - `pip install numpy` (last NumPy release on PyPi) Running from numpy source directory. /tmp/pip-req-build-gxlzajxt/numpy/distutils/misc_util.py:475: SyntaxWarning: "is" with a literal. Did you mean "=="? return is_string(s) and ('*' in s or '?' is s) Cythonizing sources Traceback (most recent call last): File "/home/tcaswell/source/other_source/cpython/Lib/runpy.py", line 192, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/tcaswell/source/other_source/cpython/Lib/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/cython.py", line 17, in main(command_line = 1) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Main.py", line 704, in main result = compile(sources, options) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Main.py", line 600, in compile return compile_multiple(source, options) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Main.py", line 577, in compile_multiple result = run_pipeline(source, options, context=context) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Main.py", line 475, in run_pipeline err, enddata = Pipeline.run_pipeline(pipeline, source) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Pipeline.py", line 356, in run_pipeline data = run(phase, data) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Pipeline.py", line 336, in run return phase(data) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Pipeline.py", line 52, in generate_pyx_code_stage module_node.process_implementation(options, result) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/ModuleNode.py", line 143, in process_implementation self.generate_c_code(env, options, result) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/ModuleNode.py", line 385, in generate_c_code self.body.generate_function_definitions(env, code) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Nodes.py", line 442, in generate_function_definitions stat.generate_function_definitions(env, code) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Nodes.py", line 442, in generate_function_definitions stat.generate_function_definitions(env, code) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Nodes.py", line 1998, in generate_function_definitions self.generate_function_body(env, code) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Nodes.py", line 1758, in generate_function_body self.body.generate_execution_code(code) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Nodes.py", line 448, in generate_execution_code stat.generate_execution_code(code) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Nodes.py", line 6390, in generate_execution_code if_clause.generate_execution_code(code, end_label, is_last=i == last) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Nodes.py", line 6452, in generate_execution_code self.body.generate_execution_code(code) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Nodes.py", line 448, in generate_execution_code stat.generate_execution_code(code) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Nodes.py", line 7229, in generate_execution_code self.body.generate_execution_code(code) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Nodes.py", line 7702, in generate_execution_code fresh_finally_clause().generate_execution_code(code) File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.9/site-packages/Cython/Compiler/Nodes.py", line 7690, in fresh_finally_clause node_copy = copy.deepcopy(node) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 172, in deepcopy y = _reconstruct(x, memo, *rv) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 269, in _reconstruct state = deepcopy(state, memo) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 146, in deepcopy y = copier(x, memo) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 229, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 172, in deepcopy y = _reconstruct(x, memo, *rv) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 269, in _reconstruct state = deepcopy(state, memo) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 146, in deepcopy y = copier(x, memo) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 229, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 172, in deepcopy y = _reconstruct(x, memo, *rv) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 269, in _reconstruct state = deepcopy(state, memo) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 146, in deepcopy y = copier(x, memo) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 229, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 172, in deepcopy y = _reconstruct(x, memo, *rv) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 269, in _reconstruct state = deepcopy(state, memo) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 146, in deepcopy y = copier(x, memo) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 229, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 172, in deepcopy y = _reconstruct(x, memo, *rv) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 286, in _reconstruct item = deepcopy(item, memo) File "/home/tcaswell/source/other_source/cpython/Lib/copy.py", line 161, in deepcopy rv = reductor(4) TypeError: cannot pickle 'Argument' object Processing numpy/random/bounded_integers.pxd.in Processing numpy/random/common.pyx Traceback (most recent call last): File "/tmp/pip-req-build-gxlzajxt/tools/cythonize.py", line 243, in main() File "/tmp/pip-req-build-gxlzajxt/tools/cythonize.py", line 239, in main find_process_files(root_dir) File "/tmp/pip-req-build-gxlzajxt/tools/cythonize.py", line 230, in find_process_files process(root_dir, fromfile, tofile, function, hash_db) File "/tmp/pip-req-build-gxlzajxt/tools/cythonize.py", line 196, in process processor_function(fromfile, tofile) File "/tmp/pip-req-build-gxlzajxt/tools/cythonize.py", line 85, in process_pyx subprocess.check_call( File "/home/tcaswell/source/other_source/cpython/Lib/subprocess.py", line 348, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/home/tcaswell/.virtualenvs/bleeding/bin/python', '-m', 'cython', '-3', '--fast-fail', '-o', 'common.c', 'common.pyx']' returned non-zero exit status 1. Traceback (most recent call last): File "", line 1, in File "/tmp/pip-req-build-gxlzajxt/setup.py", line 443, in setup_package() File "/tmp/pip-req-build-gxlzajxt/setup.py", line 426, in setup_package generate_cython() File "/tmp/pip-req-build-gxlzajxt/setup.py", line 234, in generate_cython raise RuntimeError("Running cythonize failed!") RuntimeError: Running cythonize failed! ---------------------------------------- ERROR: Command "/home/tcaswell/.virtualenvs/bleeding/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-req-build-gxlzajxt/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ijeg2s9f/install-record.txt --single-version-externally-managed --compile --install-headers /home/tcaswell/.virtualenvs/bleeding/include/site/python3.9/numpy" failed with error code 1 in /tmp/pip-req-build-gxlzajxt/