본문 바로가기

hacking or software engineering skills/linux

[centos] dlib install error, C++11 is required to use dlib, but the version of GCC you are using is tooold and doesn't support C++11. You need GCC 4.9 or newer. 에러 해결법

반응형

문제점1

 

 

문제점2

https://hidden-loca.tistory.com/6

 

[Python] dlib 설치하기.

2021. 03. 17 수정 근 수개월 동안 가장 많은 페이지 방문이 있었지만, 내용상 대충대충 써 내린 부분이 많아 새로 수정. - 가상환경생성 dlib을 설치할 가상환경을 만들었습니다. 가상환경이름은 dlib

hidden-loca.tistory.com

위 방법대로 했는데도 안됐다.

 

C++11 is required to use dlib, but the version of GCC you are using is too
old and doesn't support C++11. You need GCC 4.9 or newer.

conda install dlib

위 명령어는 안됨...

 

해결책

conda install -c conda-forge dlib

잘된다.

반응형