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

ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found #1

Closed
bazingagin opened this issue Sep 14, 2021 · 2 comments

Comments

@bazingagin
Copy link

There is an error when import constriction on Ubuntu system with python.

Environment:
Ubuntu 18.04
python 3.7, 3.8, 3.9

@timxzz
Copy link

timxzz commented Sep 20, 2021

+1

I run the following lines on Google Colab:

!pip install --upgrade constriction bumpy
import constriction

, which results in the same error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-1570388c3690> in <module>()
      1 get_ipython().system('pip install --upgrade constriction bumpy')
----> 2 import constriction

ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/local/lib/python3.7/dist-packages/constriction.cpython-37m-x86_64-linux-gnu.so)

---------------------------------------------------------------------------

@robamler
Copy link
Collaborator

robamler commented Jan 7, 2022

Thank you for reporting and sorry for getting back to you this late. This should be fixed as of version 0.2.1, which now follows best practices when compiling python extension packages for linux.

Running the following on Google Colab now works:

!pip install constriction~=0.2.1  # (no need to explicitly mention numpy anymore it's a dependency now)
import constriction

Please feel free to reopen if you're still experiencing an issue.

@robamler robamler closed this as completed Jan 7, 2022
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

3 participants