PyQT6在Windows电脑的Python环境安装

ant-python-pyqt6

按如下步骤安装


# 新建一个虚拟环境,环境名字用psspyqt6,或者mypyqt6,用你自己的名字即可
conda create -n psspyqt6 python=3.9

# 激活环境
conda activate psspyqt6

# 切换到老师的代码目录
cd D:\workbench\ant-python-pyqt6

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyqt6==6.4.0

# 注意,报错了不用管
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyqt6-tools==6.1.0.3.2

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple PyQt6-WebEngine==6.4.0

Leave a Comment