facebookresearch / fastText

Library for fast text representation and classification.
https://fasttext.cc/
MIT License
25.83k stars 4.71k forks source link

anaconda python 3.9 import error #1273

Open ralbright-insiderscore opened 2 years ago

ralbright-insiderscore commented 2 years ago

I get an error on python import after buildinig for python 3.9 anaconda

python Python 3.9.12 (main, Apr 5 2022, 06:56:58) [GCC 7.5.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information.

import fasttext Traceback (most recent call last): File "", line 1, in File "/home/ralbright/anaconda3/lib/python3.9/site-packages/fasttext/init.py", line 12, in from .FastText import train_supervised File "/home/ralbright/anaconda3/lib/python3.9/site-packages/fasttext/FastText.py", line 12, in import fasttext_pybind as fasttext ImportError: /home/ralbright/anaconda3/lib/python3.9/site-packages/fasttext_pybind.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv