polyglot
polyglot copied to clipboard
Segmentation fault on importing polyglot Text or Word
Hello,
I have python 2.7.12 anaconda distribution installed on Mac OS Sierra 10.2. I installed polyglot using pip install polyglot and installation worked fine. However, I come across segmentation fault when importing Text or Word from polyglot.text.
- import polyglot ---- no error
- from polyglot.text import Text ---- segmentation fault: 11
Can someone please help ?
Did you manage to solve it?
Any updates on this ? Having the same issue
As far as I could see, it is a problem with the used pycld2. I located the problem by using the python builtin faulthandler in my script:
import faulthandler
faulthandler.enable()
With this info, I found an open pull request where the last comment has helped: https://github.com/aboSamoor/pycld2/pull/44