2017-02-09 40 views
1

我已经安装了从我已经安装pycrfsuite还是它给进口错误

sudo pip install python-crfsuite 

pycrfsuite但它仍然是给导入错误

Traceback (most recent call last):
    File "rough.py", line 3, in
import pycrfsuite ImportError: No module named pycrfsuite

我能做些什么?

回答

0

确保您运行的在同一个Python版本的程序中,你已经在python3安装包

例如,你已经安装了Python-crfsuite和你正在运行的代码与python2..that可能是这样的情况下给出错误

0

您确定python-crfsuite安装导入为pycrfsuite?我想不出这是拼写问题。以防万一,你能显示相关的代码吗?尝试“进口中的python-crfsuite”

相关问题