build scipy error cythonize failed

前端 未结 2 842
庸人自扰
庸人自扰 2020-12-30 21:30

I\'m trying to build scipy and I get a RuntimeError:

$sudo python setup.py build
Processing scipy/cluster/_vq_rewrite.pyx
Traceback (most recent call last):
         


        
2条回答
  •  不思量自难忘°
    2020-12-30 21:46

    If you do not have Cython installed then use: pip install Cython. However, if you do have an old version of Cython installed like me then this is what solved it for me: pip install --upgrade Cython

提交回复
热议问题