Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mercantigo opened this issue Jan 25, 2023 · 4 comments
Open

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

mercantigo opened this issue Jan 25, 2023 · 4 comments

Comments

@mercantigo
Copy link

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?

@ffiras
Copy link

ffiras commented Jan 29, 2023

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

@williamyang1991
Copy link
Owner

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

lhelontra/tensorflow-on-arm#13
pybind/pybind11#3453

@martellz
Copy link

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

@aljasser
Copy link

aljasser commented Jan 12, 2024

this solution work for me davisking/dlib#2724

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants