`GLIBCXX_3.4.29' not found
When running "python run_ho3d.py":
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /opt/conda/envs/py38/lib/python3.8/site-packages/scipy/spatial/_ckdtree.cpython-38-x86_64-linux-gnu.so)
Follow these inside the docker file : apt-get update apt-get install -y software-properties-common add-apt-repository ppa:ubuntu-toolchain-r/test apt-get update apt-get install -y libstdc++6
check by running "strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX" that it shows latest version of GLIBCXX more than .29
@AyeshaHabib To make your fix to work, I had to update gcc/g++ beforehand:
apt install gcc-10 g++-10 update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100
Then: apt-get update apt-get install -y software-properties-common add-apt-repository ppa:ubuntu-toolchain-r/test apt-get update apt-get install -y libstdc++6
更新软件包列表
sudo apt update
升级 libstdc++6
sudo apt upgrade libstdc++6
如果需要,可以专门安装特定版本
sudo apt install libstdc++6 I
sudo apt install libstdc++6 can solve problem