我一直在尝试安装一个软件包一段时间,该软件包正在返回以下错误:
Error compiling Cython file:
------------------------------------------------------------
...
return compare >= 0
cdef inline bint cmp(x, y):
return (x > y) - (x < y)
cdef Strand parse_strand(str strand):
^
------------------------------------------------------------
wrenlab/genome/types.pyx:35:5: 'Strand' is not a type identifier
...
#error Do not use this file, it is the result of a failed Cython compilation.
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
我能够在某些计算机上使用它,但不能在其他计算机上使用。
有谁知道这个问题的最佳起点在哪里?这似乎是Cython或GCC的问题,但是我已经安装了源代码中请求的适当版本。
我看了一个软件包https://pypi.python.org/pypi/wrenlab/0.1.2,并且代码未定义Strand
,也不会导入或包括代码会。很奇怪的是,它在某些计算机上根本可以使用。请联系代码的作者查询其状态(Beta/Working/python等(。