安装虚拟环境 venv 或者 virtualenvPython 3.6+
python -m venv env envScriptsactivate.bat #win系统 #source env/bin/activate for Linux and macOS安装
pip install pyside6 #for the latest version. pip install pyside6==6.0 #for the version 6.0 specifically.
从url安装
pip install --index-url=https://download.qt.io/snapshots/ci/pyside/6.0.0/latest pyside6 --trusted-host download.qt.io测试
import PySide6.QtCore # Prints PySide6 version print(PySide6.__version__) # Prints the Qt version used to compile PySide6 print(PySide6.QtCore.__version__)



