mckib2 / pygrappa

Python implementations of GRAPPA-like algorithms.
https://pygrappa.readthedocs.io/en/latest/
MIT License
64 stars 13 forks source link

Import error: version GLIBC_2.29 not found #104

Closed Jerzy97 closed 3 weeks ago

Jerzy97 commented 2 months ago

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 commented 2 months ago

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

mckib2 commented 1 month ago

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 commented 1 month ago

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.

Jerzy97 commented 3 weeks ago

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!