설치하고 나서 간단히 테스트 할 수 있는 코드
from PySide6.QtWidgets import QLabel, QApplication
import sys
app = QApplication(sys.argv)
widget = QLabel("test!")
widget.resize(300, 200) # 창의 크기 설정 (너비, 높이)
widget.show()
sys.exit(app.exec())
[PySide6] Installing PySide6 (and Designer) on Windows (with Conda)
기존에 conda 가상환경에 다시 pip로 설치를 했었는데,conda를 25.1.1 로 업데이트하고 PySide6와 designer를 설치하니 제대로 설치가 됨. Prerequisiteconda : conda-forge 채널에서 설치.os : Windows11, 23H2 (22631.4751)I
ds31x.tistory.com
'Python' 카테고리의 다른 글
[PyTorch] flattenning - Tensor's methods (0) | 2025.03.13 |
---|---|
[PyTorch] 생성 및 초기화, 기본 조작 (0) | 2025.03.13 |
[Py] dis 모듈 - Python (1) | 2025.03.11 |
[DL] Tensor 다루기 - PyTorch 중심 (0) | 2025.03.07 |
[Py] How to Install Python on Windows from Python.org (0) | 2025.03.06 |