安装Cython遇到循环依赖

Installing Cython encountered loop dependency

我正在为我的 python 安装 cython。

我解压缩了 tar.gz 并执行了构建安装例程。

然后,setup.py告诉我:

Traceback (most recent call last):
  File "setup.py", line 238, in <module>
    compile_cython_modules(cython_profile, cython_compile_more, cython_with_refnanny)
  File "setup.py", line 170, in compile_cython_modules
    from Cython.Distutils import build_ext
ImportError: No module named Cython.Distutils

也就是说,我需要cython来安装cython?

还是我漏掉了什么重要的东西?

原因在于 'rz' 命令没有提交完整的传输但没有给出错误。

我解压的包是别人上传的破包。我又下载了一个,终于搞定了。

建议:先使用以下命令检查包的完整性。

>md5sum sth.tar.gz                show checksum
>du -h st.tar.gz                  show human-readable file size

也感谢Kevin Guan的建议和帮助。