[go: nahoru, domu]

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

`GLIBC_2.29' not found #19

Open
sz-lcw opened this issue Sep 10, 2021 · 2 comments
Open

`GLIBC_2.29' not found #19

sz-lcw opened this issue Sep 10, 2021 · 2 comments

Comments

@sz-lcw
Copy link
sz-lcw commented Sep 10, 2021

And after I installed the latest version of the transformers (v4.10.0), I couldn't import LayoutLMv2Processor.
the error is shown as follow:

ImportError: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by xxxxx/python3.7/site-packages/tokenizers/tokenizers.cpython-37m-x86_64-linux-gnu.so)

how to fixed this problem? Thank you.

@NielsRogge
Copy link
Owner

Hi,

I just tried this out in Google Colab, it runs fine. Perhaps you need to re-install transformers using pip.

@sz-lcw
Copy link
Author
sz-lcw commented Sep 13, 2021

Hi,

I just tried this out in Google Colab, it runs fine. Perhaps you need to re-install transformers using pip.

Hi, @NielsRogge ,thanks for your reply.
since I using pip to install the previous version of transformers(v4.6.1), it don't have this problem. but the previous version don't have the newest interface, such as LayoutLMv2Processor.
So, it seem that the newest version of the transformers (v4.10.0) rely on new version of Glibc?
here is others discussion:
https://stackoverflow.com/questions/67636846/importerror-when-from-transformers-import-berttokenizer

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

2 participants