segment-any-text / wtpsplit

Toolkit to segment text into sentences or other semantic units in a robust, efficient and adaptable way.
MIT License
666 stars 39 forks source link

ImportError: /lib64/libm.so.6: version `GLIBC_2.27' not found #56

Closed ben-8878 closed 1 year ago

ben-8878 commented 2 years ago

i run it on centos7 and python3.8.3,and i just want to run it on cpu not gpu. I met follows error:

>>> import nnsplit
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /home/zyb/miniconda3/lib/python3.8/site-packages/nnsplit.cpython-38-x86_64-linux-gnu.so)
anigmo97 commented 1 year ago

I'm also having the same issue. It's not possible to run this on Amazon Linux or AWS services in general.

bminixhofer commented 1 year ago

Hi! Sorry for being so quiet on this library. I have been working on a major revamp, expanding support to 85 languages, switching to a new training objective without labelled data, and switching the backbone to a BERT-style model.

It now does not have a Rust build in the background anymore so this should be solved! Please let me know if this persists.