Python 安装Cython时遇到循环依赖项

Python 安装Cython时遇到循环依赖项,python,installation,cython,Python,Installation,Cython,我正在将cython安装到python中 我解压缩了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

我正在将cython安装到python中

我解压缩了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
回溯(最近一次呼叫最后一次):
文件“setup.py”,第238行,在
编译cython模块(cython配置文件、cython编译更多、cython与参考保姆)
文件“setup.py”,第170行,在compile\u cython\u模块中
从Cython.Distutils导入生成\u ext
ImportError:没有名为Cython.Distutils的模块
这意味着,我需要cython来安装cython


还是我遗漏了一些重要的内容?

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

我解压的包是别人上传的坏包。我下载了另一个,最终得到了正确的答案

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

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

谢谢关凯文的建议和帮助。

pip安装cython怎么样?@KevinGuan很遗憾,我是一个无法上网的客户。ez_安装或pip无法正常工作,请检查?谢谢。我在小路周围检查了一下,一切正常。我以前没有一个cython嗯…你在用Linux还是Windows?如果您使用的是Linux,也许您可以使用PackageManager来完成。