2017-04-25 109 views
0

我一直在試圖點子安裝包被返回以下錯誤一會兒:用Cython編譯錯誤「不是一個類型標識符」

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的問題,但我已經安裝了源代碼中請求的正確版本。

回答

1

我看了看包https://pypi.python.org/pypi/wrenlab/0.1.2,代碼沒有定義Strand,也沒有導入或包含代碼。奇怪的是它在一些計算機上可以正常工作。聯繫代碼的作者來詢問它的狀態(Python的beta/working/version等)。