安装 ctc-crf 包的问题
Closed this issue · 3 comments
liubin3702 commented
按照教程按照安装没问题 中间没看到报错,显示安装成功;但 报错: No module named 'ctc_crf._C'
maxwellzh commented
请检查你的python程序执行位置,如果在CAT/src/ctc_crf/
下运行(因为该目录下有ctc_crf/__init__.py
,的确会报这个错误,可以尝试切换到其他目录执行,例如:
cd ~ && python -c "import ctc_crf"
cd - >/dev/null
liubin3702 commented
确实就是在这个目录报错 外面就对的
maxwellzh commented
@liubin3702
这是正常的情况,不会影响使用