<p dir="auto">Running from numpy source directory.<br>
Traceback (most recent call last):<br>
File "", line 1, in <br>
ImportError: No module named Cython.Compiler.Main<br>
Processing numpy/random/mtrand/mtrand.pyx<br>
Traceback (most recent call last):<br>
File "/var/tmp/lee218/spack-stage/spack-stage-KH2wWX/numpy-1.11.2/tools/cythonize.py", line 199, in <br>
main()<br>
File "/var/tmp/lee218/spack-stage/spack-stage-KH2wWX/numpy-1.11.2/tools/cythonize.py", line 195, in main<br>
find_process_files(root_dir)<br>
File "/var/tmp/lee218/spack-stage/spack-stage-KH2wWX/numpy-1.11.2/tools/cythonize.py", line 187, in find_process_files<br>
process(cur_dir, fromfile, tofile, function, hash_db)<br>
File "/var/tmp/lee218/spack-stage/spack-stage-KH2wWX/numpy-1.11.2/tools/cythonize.py", line 161, in process<br>
processor_function(fromfile, tofile)<br>
File "/var/tmp/lee218/spack-stage/spack-stage-KH2wWX/numpy-1.11.2/tools/cythonize.py", line 81, in process_pyx<br>
raise Exception('Cython failed')<br>
Exception: Cython failed</p>
<p dir="auto">Note: if you need reliable uninstall behavior, then install<br>
with pip instead of using <code class="notranslate">setup.py install</code>:</p>
<ul dir="auto">
<li><code class="notranslate">pip install .</code>       (from a git repo or downloaded source<br>
release)</li>
<li><code class="notranslate">pip install numpy</code>   (last Numpy release on PyPi)</li>
</ul>
<p dir="auto">Cythonizing sources<br>
Traceback (most recent call last):<br>
File "setup.py", line 386, in <br>
setup_package()<br>
File "setup.py", line 369, in setup_package<br>
generate_cython()<br>
File "setup.py", line 207, in generate_cython<br>
raise RuntimeError("Running cythonize failed!")<br>
RuntimeError: Running cythonize failed!</p>
<p dir="auto">Couldn't find it anywhere mentioned in the docs, but it seems that Cython is a build requirement of the development version.</p>