pyinstaller 의 버전이 정확하지 않은 경우가 오류의 원인일 가능성이 높다.

pyinstaller 를 실행시키면 

맨 윗부분에 pyinstaller : ... python : .... 과 같은 버전이 명시된다.

초기에 pyqt4 같은 낮은 버전을 사용했다던가

pyinstaller 를 설치할떄 pip install Pyinstaller , sudo apt-get install python-Pyinstaller 로 설치했다면

pyinstaller 는 python 2.x 의 버전을 사용하게 된다.

PyQt5 는 python3 을 기준으로 작성되므로

pip3 , python3 으로 설치해서 사용하자.

 

pip3 install Pyinstaller

sudo apt-get python3-Pyinstaller

 

'python > pyqt5' 카테고리의 다른 글

pyinstaller 후 sip , PyQt5.sip 오류  (0) 2020.01.09
PyQt5 를 이용한 간단한 GUI 만들기  (0) 2019.11.14

+ Recent posts