pycld2
pycld2 copied to clipboard
pycld2 0.41 Crashed on M1 Mac with Segmentation Fault 11
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
+1
+1
There is a fix for this and workaround at https://github.com/aboSamoor/pycld2/pull/44
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
same here
I think this repo is dead