ubuntu

    [AWS 배포] dlib을 설치해보자

    dlib을 로컬 환경에서 설치할 때도 큰 어려움을 겪었었지만, 새롭게 AWS EC2 Linux에서 Ubuntu로 인스턴스를 변경한 후에 다시 환경을 설정해주려고 하니, dlib을 새롭게 설치하는 문제가 생겼다. [1. 파이썬 설치] 파이썬에서 dlib을 설치해야 하기 때문에 sudo apt-get install python3 sudo apt update sudo apt-get install python3-pip 여기서, pip3를 이용해서 파이썬 패키지를 설치할 수 있지만, pip을 이용해서 설치하기 위해서는 ln -s /usr/bin/pip3 /usr/bin/pip 심볼릭 링크로 연결해준다. 똑같이, 파이썬도 심볼릭 링크를 이용해서 연결하면 ln -s /usr/bin/python3 /usr/bin/py..

    [AWS 배포] 우분투에는 디스플레이가 없다!

    qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/local/lib/python3.8/dist-packages/cv2/qt/plugins" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: xcb. 현재 진행하고 있는 프로젝트에서는 Python을 이용해서 영상 처리를 하..