pycld2 icon indicating copy to clipboard operation
pycld2 copied to clipboard

pycld2 0.41 Crashed on M1 Mac with Segmentation Fault 11

Open ongtw opened this issue 4 years ago • 6 comments

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

ongtw avatar May 12 '21 07:05 ongtw

+1

demoh2019 avatar Nov 23 '21 03:11 demoh2019

+1

praveenr019 avatar Jun 02 '22 14:06 praveenr019

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

DerekHill avatar Jul 22 '22 11:07 DerekHill

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

vovkd avatar May 02 '23 09:05 vovkd

same here

gregoriopellegrino avatar Aug 23 '23 12:08 gregoriopellegrino

I think this repo is dead

Ninefiveblade avatar Mar 26 '24 19:03 Ninefiveblade