CANoe의 Panel 기능처럼, PyQt에도 GUI를 쉽게 구현할 수 있는 Tool이 있다. 

Qt Designer 인데, 

이것을 사용하려면 Designer.exe 파일이 필요하다. 

 

이 파일을 설치하려면 pyqt5-tools 를 설치하면 된다는데....

 

 

 

 

python -m pip install pyqt5-tools--trusted-host pypi.org --trusted-host files.pythonhosted.org

pip install pyqt5-tools--trusted-host pypi.org --trusted-host files.pythonhosted.org

pip install pyqt5-tools~=5.15 --trusted-host pypi.org --trusted-host files.pythonhosted.org

 

전부 아래와 같은 에러 메시지 발생. 

 

 

ERROR: pyqt5==5.14.0 from https://files.pythonhosted.org/packages/7c/5b/e760ec4f868cb77cee45b4554bf15d3fe6972176e89c4e3faac941213694/PyQt5-5.14.0.tar.gz#sha256=0145a6b7de15756366decb736c349a0cb510d706c83fda5b8cd9e0557bc1da72 (from pyqt
5-tools) has a pyproject.toml file that does not comply with PEP 518: 'build-system.requires' contains an invalid requirement: 'sip >=5.0.1 <6'

 

 

Python3.10 사용 중인데 3.10에서 지원이 안된다는 글을 본 것 같아 3.9를 깔려고 하다보니 

3.9를 깔면 3.10과 같이 사용하기 위해 아나콘다가 필요하고

 

그래서 

아나콘다를 깔아봐야하나 고민하던 찰나, 

 

designer.exe, Qt Designer 라는게 아나콘다에서 기본 제공하는 툴임을 알게됨.. 

 

아나콘다를 깔고 다음과 같은 경로로 들어가니 designer.exe가 있다. 

(※ 저 폴더는 숨겨져 있으므로, 아나콘다 실행 후 뜨는 프롬프트 창을 보면 경로를 알 수 있다.

검색해도 안나옴.. C:\ProgramData\Anaconda3\Library\bin)

 

 

 

 

+ Recent posts