pygrappa icon indicating copy to clipboard operation
pygrappa copied to clipboard

Import error: version GLIBC_2.29 not found

Open Jerzy97 opened this issue 1 year ago • 3 comments

Hi,

upon installing the package via pip install pygrappa, I encountered an import error. I send a screenshot with the error message.

Screenshot from 2024-09-18 13-25-45

I have installed pygrappa in a conda environment. I can give more info regarding the environment, if necessary.

Thanks a lot for maintaining this package. It is really valuable! Best, Georg

Jerzy97 avatar Sep 18 '24 11:09 Jerzy97

I just realized: It seems to work if I clone the repository & install the package with pip install .

Jerzy97 avatar Sep 18 '24 13:09 Jerzy97

Hi @Jerzy97 , thanks for reporting. I think what is happening here is that there are some precompiled binaries available on pypi that are being used with a pip install pygrappa and these binaries are getting old enough that they are not compatible with your system. Installing via pip install . will build sources locally I believe, so the same/compatible glibc will definitely be used.

I'll go ahead and redeploy the binaries in a new version to make sure they aren't stale. I'll let you know when they're available.

mckib2 avatar Sep 22 '24 19:09 mckib2

Just uploaded version 0.26.3. PyPI reports CPython 3.12 manylinux: glibc 2.17+ x86-64 for the Python 3.12 x86-64 target. Hopefully that will be compatible with your conda environment.

If you get a chance, please try installing in a fresh conda environment from PyPI and report back if it now succeeds or still fails.

mckib2 avatar Sep 22 '24 23:09 mckib2

Dear @mckib2 sorry for such a late reply! I just tried in a new environment - it seems to work perfectly currently! Thank you very much again!

Jerzy97 avatar Oct 23 '24 16:10 Jerzy97