Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ongtw opened this issue May 12, 2021 · 6 comments
Open

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

ongtw opened this issue May 12, 2021 · 6 comments

Comments

@ongtw
Copy link

ongtw commented May 12, 2021

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
Copy link

+1

1 similar comment
@praveenr019
Copy link

+1

@DerekHill
Copy link

There is a fix for this and workaround at #44

@vovkd
Copy link

vovkd commented May 2, 2023

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
Copy link

same here

@Ninefiveblade
Copy link

I think this repo is dead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants