pythonimportpython-crfsuite

I have already installed pycrfsuite still it is giving import error


I have already installed pycrfsuite from

sudo pip install python-crfsuite

but still it is giving import error

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

What can i do ?


Solution

  • Make sure that you are running your program in same python version in which you have installed package

    For example,you have installed python-crfsuite in python3 and you are running the code with python2..that might be the case to give the error