segmentation fault while importing nltk in python -
I'm having a partition fault while trying to import nltk on a Debian machine
Python Verbose output is given here: -
& gt; & Gt; & Gt; Import nltk .... .... import scipy.linalg.blas # /usr/local/lib/python2.7dist-packages/scipy/linalg/blas.pyc# trying / usr / local / lib / First precompiled python2.7 / dist-packages / scipy / linalg / _fblas.so dlopen ("/ usr / local / lib / python2.7 / dist-packages / scipy / linalg / _fblas.so", 2); Partition fault any suggestions? I have tried to uninstall and tried to restore it by the SSPP.
Thank you, Amit
I had the same problem. I have uninstalled SIPP and nltk, then only have to reinstall nltk.
workspip uninstall scipy pip uninstall nltk pip install --no-cache-dir nltk python import nltk nltk.download () works
However, the problem came back when I reinstalled Sipi ... The solution for me was to uninstall both the packages using PIP and Kando (Konda Anant NLTK), then using PIP using KNDO and NLTK. This combination works for me, I'm not completely sure that the reason probably was a faulty former establishment of nltk in Anaconda.
Comments
Post a Comment