在Pyinstaller Maximum Recursion Depth Exceded适当引用问题时,我删除了所有版本的pyinstaller和相关文件夹。我安装了pyinstaller的最新开发版本:
awk '
FNR==NR{
a[$NF]=$1 OFS $2;
next}
{
split($4,array,":");
for(i in array){
if(array[i] in a){
print $0,a[array[i]];
next}}
}
1
' Input_file2 Input_file1
awk 'FNR==NR{a[$NF]=$1 OFS $2;next} {split($4,array,":");for(i in array){if(array[i] in a){print $0,a[array[i]];next}}} 1' Input_file2 Input_file1
R_Index Chr Start AAChange.refGeneWithVer MajorTranscript HGMD C1 C2
1 chr15 48720526 FBN1:NM_000138.4:exon57:c.6997+17C>G:p.? NM_000138.4 . . .
2 chr15 48741091 FBN1:NM_000138.4:exon46:c.5546-1G>A:p.? NM_000138.4 . . .
3 chr15 48807637 FBN1:NM_000138.4:exon12:c.1415G>A:p.Cys472Tyr NM_000138.4 . . .
4 chr15 48741091 FBN1:NM_000138.4:exon46:c.5546-1G>A:p.?,FBN1:NM_000138.4:exon46:c.5546-1G>T:p.? NM_000138.4 . . . CS057008 DM
使用pyinstaller仍然会出现此错误消息:
pip install https://github.com/pyinstaller/pyinstaller/tarball/develop
我正在使用Python 3.6.4。我已经看到其他人降级到Python 3.5。其他人建议在spec文件中增加递归深度(http://pyinstaller.readthedocs.io/en/stable/spec-files.html)。
有人能建议最好的前进道路吗?
答案 0 :(得分:1)
FWIW,我撕掉了Python 3.6.4并安装了Python 3.5.2。现在,pyinstaller和P3.5.2一起发挥得很好。
答案 1 :(得分:0)
或者,您可以通过将以下内容添加到.spec文件的开头来增加递归限制:
import sys
sys.setrecursionlimit(5000)