카테고리 없음

opencv 삭제후 설치.

sunlab 2019. 10. 21. 17:20
728x90

https://stackoverflow.com/questions/28469127/import-error-libopencv-core-so-3-0cannot-open-shared-file

 

 

Import Error : libopencv_core.so.3.0:cannot open shared file

I am using Ubuntu 12.04. I installed the opencv 3.0-beta version initially. Due to some reasons I switched back to an older version, 2.4.9, after uninstalling the older version using commands: $>

stackoverflow.com

완전히 다 삭제한 후에 설치한다.

 

sudo find / -name "*opencv*" -exec rm -i {} \;
sudo find / -name "*opencv*" -exec rm -r {} \;
sudo find / -name "*OpenCV*" -exec rm -i {} \;
sudo find / -name "*OpenCV*" -exec rm -r {} \;
sudo find / -name "*cv2*" -exec rm -i {} \;
sudo find / -name "*cv2*" -exec rm -r {} \;

 

+ rm에 -rf 옵션을 주면 묻지도 따지지도 않고 모조리 삭제.

 

https://e3jake.tistory.com/38

 

Deep Learning - (1) Ubuntu16.04에서 OpenCV 설치하기

Deep Learning - (1) Ubuntu16.04 LTS에서 OpenCV 설치하기 2018. 8. 1. 1. OpenCV 기존버전(like 2.4, etc) 제거(Optional) 2. 기존 설치된 패키지 업그레이드 3. OpenCV 컴파일 전 필요한 패키지 설치 4. OpenCV..

e3jake.tistory.com

위 블로그의 프로세스를 따라하기.

 

 

 

+ ros kinetic을 설치하면 opencv가 같이 설치된다 별도로 설치할 필요가 없다.