简体   繁体   English

Windows 10 上的 PyQt5 安装

[英]PyQt5 Installation on Windows 10

What I Know我知道的

What I did was:我所做的是:

pip install pyqt5
pip install pyqt5-tools

The installation went successfully and there was no problem.安装成功,没有任何问题。

Designer设计师

I expected that executing the commands in the above section, the PyQt5 Designer should be installed.我预计执行上一节中的命令,应该安装 PyQt5 Designer。 But when I navigated to where PyQt5 was installed, I couldn't find any designer.exe file.但是当我导航到 PyQt5 的安装位置时,我找不到任何designer.exe文件。
Am I supposed to run any command?我应该运行任何命令吗?

I am using Python 3.9 on Windows.我在 Windows 上使用 Python 3.9。

Found the Solution找到解决方案

It's simple;这很简单; you have to just run this command in your cmd / powershell / terminal :你只需要在你的cmd / powershell / terminal运行这个命令:

pip install pyqtdesigner

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM