williamyang1991 / VToonify

[SIGGRAPH Asia 2022] VToonify: Controllable High-Resolution Portrait Video Style Transfer
Other
3.55k stars 446 forks source link

Error "`GLIBCXX_3.4.29' not found (required by dlib)" #42

Open mercantigo opened 1 year ago

mercantigo commented 1 year ago

Hi.

I've been trying to install vToonify on Ubuntu-WSL. Some packages were offline or isn't avaliable, and had to manually install. But I think everything was fine.

But when I try to run python style_transfer.py --scale_image, I got this error: (vtoonify_env) mercantigo@DESKTOP-SC64BP9:~/VToonify$ python style_transfer.py --scale_image Traceback (most recent call last): File "style_transfer.py", line 6, in <module> import dlib File "/home/mercantigo/anaconda3/envs/vtoonify_env/lib/python3.8/site-packages/dlib/__init__.py", line 19, in <module> from _dlib_pybind11 import * ImportError: /home/mercantigo/anaconda3/envs/vtoonify_env/bin/../lib/libstdc++.so.6: versionGLIBCXX_3.4.29' not found (required by /home/mercantigo/anaconda3/envs/vtoonify_env/lib/python3.8/site-packages/_dlib_pybind11.cpython-38-x86_64-linux-gnu.so)`

I already tried to reinstall libstdcxx-ng and libgcc, but no lucky at all.

How can I solve this?

ffiras commented 1 year ago

I had the same problem. did you manage to solve it !

williamyang1991 commented 1 year ago

I found similar issues and other's solutions. Hope those helps.

https://github.com/lhelontra/tensorflow-on-arm/issues/13 https://github.com/pybind/pybind11/discussions/3453

aljasser commented 10 months ago

this solution work for me https://github.com/davisking/dlib/issues/2724

MahrukhAliKhan commented 1 week ago

image @williamyang1991 @mercantigo @aljasser I have tried to solve this error using these solutions. But non of them has worked for me. I am using python=3.8.3, cuda=11.5 image image i'll be looking forward for your reply