taichi: taichi version 0.7.21 requires libm.so.6: version `GLIBC_2.29' which is unavailable on Ubuntu 18.04.5
After installing latest taichi through pip install --upgrade taichi on my Ubuntu 18.04 machine, I got the following error in ‘import taichi_core as core’:
ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by home/dell/anaconda3/envs/physics/lib/python3.8/site-packages/taichi/core/../lib/taichi_core.so)
Consider installing libtinfo5: sudo apt-get install libtinfo5
But I have already installed libtinfo5.
I use strings /lib/x86_64-linux-gnu/libm.so.6 | grep GLIBC_ and apparently Ubuntu 18.04 supports glibc up to version 2.27.
Reverting to the previous version pip install taichi==0.7.16 fixed the issue.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (7 by maintainers)
@k-ye @cloudhan After installing
libz3-4, taichi 0.7.23 could work with python 3.6/3.7/3.8 on my WSL now.@k-ye I met the same issue.
strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC_givesso the pip package cannot work on my machine. To my knowledge, you should follow PEP 513/571/599 to build you package.