Declare dependency pycrfsuite
juanmirocks opened this issue · comments
ImportError: No module named 'pycrfsuite'
pip install pycrfsuite
Collecting pycrfsuite
Could not find a version that satisfies the requirement pycrfsuite (from versions: )
No matching distribution found for pycrfsuite
Are you guys using this module?
I already talked about this on Skype :)
pip install python-crfsuite
Good, sorry if I missed it. Can't we have the dependency declared in the install file ?
Sure we can add it. The problem is that on windows installing it is not always straightforward.
? So what's the solution? I better declare this dep somehow, at least within the README installation instructions
The problem as I see it is:
- if we include it in setup.py ... The Windows user will try to
pip install nala
and might fail because pycrfsuite might fail, then we assume 'they will notice it's not nala but a dependecy and try to install it separately'. The Unix user should be fine - If we don't include it in setup.py... We have to add it in readme, with an additional short tutorial on how to install python-crfsuite on Windows before installing nalaf/nala
- We do include it in setup.py as 1) But put the info for Windows users that it might fail and what to try in some FAQ
I like 3) best
Done as 3)