Hello, download PyQt5 from its official website and in some videos I see that it brings an "executable" file called designer. When downloading it it doesn't bring that file, just a folder called so I don't know what to do with it, so how can I use PyQt?
The following image has everything that the directory contains after unzipping it, I use PyCharm as IDE.
Can someone please help me?
Open a command console and type
pip3 install PyQt5
, it will start working, you should leave it like that until it reaches 100%. When this is done, a folder will automatically be created inside where you have installed Python like this\Lib\site-packages\PyQt5
. With this you will only be able to execute the programs, but you will not be able to design. To download the designer, you have to type the following:pip3 install PyQt5-tools
, this will create another folder\Lib\site-packages\PyQt5-tools
, and here inside is the designer.exe I have already tried it and it works. Luck.The recommended way to download PyQt5 (and most python packages) is to open a terminal and type
pip install pyqt5
eitherpip3 install pyqt5
. Now, you have downloaded the file with the .zip extension from the official PyQt page, what you should do is:python configure.py
, this will run the PyQt5 configuration file.make
.make install
The above steps assume that you have the Python interpreter configured correctly in your system path.
Sources:
The designer is part of the QT libraries, if you download pyqt you are probably not downloading it or you have to compile it. For windows to install the designer you have to install it from https://www1.qt.io/download-open-source/?hsCtaTracking=f977210e-de67-475f-a32b-65cec207fd03%7Cd62710cd-e1db-46aa-8d4d-2f1c1ffdacea In the installer you can download the version you want of QT and the extra programs that it includes: designer, creator, studio3d... Once everything is installed, go to the windows icon > programs > QT and there you have them.
Hello, I have the same problem, I already managed to make the file execute but before finishing the execution of the configure.py file I get this error