VToonify icon indicating copy to clipboard operation
VToonify copied to clipboard

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

Open mercantigo opened this issue 2 years ago • 4 comments

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: version GLIBCXX_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?

mercantigo avatar Jan 25 '23 05:01 mercantigo

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

ffiras avatar Jan 29 '23 18:01 ffiras

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

williamyang1991 avatar Jan 30 '23 01:01 williamyang1991

you can just use other face detection method, such as mediapipe https://github.com/martellz/VToonify/blob/77d78c3397eb05c2ee1785f1fbfc18df80bb2963/util.py#LL191C5-L191C36

martellz avatar May 12 '23 03:05 martellz

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

aljasser avatar Jan 12 '24 09:01 aljasser