williamyang1991 / VToonify

[SIGGRAPH Asia 2022] VToonify: Controllable High-Resolution Portrait Video Style Transfer
Other
3.53k stars 442 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

martellz commented 1 year ago

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

aljasser commented 8 months ago

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