aboSamoor / pycld2

Apache License 2.0
159 stars 60 forks source link

pycld2 0.41 Crashed on M1 Mac with Segmentation Fault 11 #43

Open ongtw opened 3 years ago

ongtw commented 3 years ago

As title above. Ran the following code on M1 MacBook Air 8/512:

import pycld2 as cld2
print("pycld2 version", cld2.__version__)
the_text = "Is this working on M1 Mac?"
_, _, _, the_lang = cld2.detect(the_text, returnVectors=True)
print(the_text, "->", the_lang)

The output is:

(m1) $ python test_pycld2.py 
pycld2 version 0.41
Segmentation fault: 11
demoh2019 commented 2 years ago

+1

praveenr019 commented 2 years ago

+1

DerekHill commented 2 years ago

There is a fix for this and workaround at https://github.com/aboSamoor/pycld2/pull/44

vovkd commented 1 year ago

There is a fix for this and workaround at #44

Does not work.

Current thread 0x0000000102f44580 (most recent call first):

Extension modules: cwcwidth._impl, greenlet._greenlet, charset_normalizer.md, pycld2._pycld2 (total: 4) [1] 43648 segmentation fault python

gregoriopellegrino commented 1 year ago

same here

Ninefiveblade commented 5 months ago

I think this repo is dead