Error when installing PyQt6 from source

RedHuli redhuli.comments at gmail.com
Wed Dec 23 07:27:20 GMT 2020


I am very sorry to bother again. I realized that my last message wasn't
right. I didn't solve the problem.

I am still wondering why, after performing sip-install in the PyQt6 folder,
why only sip is being built. Any ideas?

Let me know what kind of specs or any information I can give to figure this
out. Thank you!

On Wed, Dec 23, 2020 at 8:34 AM RedHuli <redhuli.comments at gmail.com> wrote:

> UPDATE: So I solved the problem (after getting some rest).
>
> I am now able to run sip-install using qmake from Qt 6. After the
> running building, I am able to open the Python shell and import PyQt6.
> However, none of the modules appeared to have been installed. When I run
> help(PyQt6), it only shows the following:
>
> Help on package PyQt6:
>
>
> *NAME*
>
>     PyQt6
>
>
> *PACKAGE CONTENTS*
>
>     sip
>
>
> *FILE*
>
>     (built-in)
>
> Only sip has been built. Any ideas? Thank you for your help.
>
> On Wed, Dec 23, 2020 at 7:06 AM RedHuli <redhuli.comments at gmail.com>
> wrote:
>
>> Hey,
>>
>> Sorry to bother with another question.
>>
>> > Correct - it either needs to be in your $PATH, or you'll need to specify
>> > it via --qmake.
>>
>> After installing Qt, I get a new error after locating qmake and trying to
>> build PyQt:
>>
>> $ sip-install --qmake /Users/___/Qt/5.15.2/clang_64/bin/qmake
>>
>> Querying qmake about your Qt installation...
>>
>> sip-install: Qt v6 is required, not v5.15.2
>>
>> Somehow everytime I try to download Qt 6 from the Qt website I
>> automatically get version 5.15.2. I am not sure why that is? This may seem
>> silly, but I have already downloaded Qt twice with the same error. Is it
>> because I am trying to download open source and not the commercial version?
>>
>> On Mon, Dec 21, 2020 at 6:03 PM Florian Bruhin <me at the-compiler.org>
>> wrote:
>>
>>> Hey,
>>>
>>> (I re-added the mailinglist in my reply)
>>>
>>> On Mon, Dec 21, 2020 at 07:58:48AM +0800, RedHuli wrote:
>>> > Once I have completed downloading Qt (I am doing that now), I will then
>>> > need to locate the qmake file and specify it, the working qmake, when
>>> > running sip-install. Is that correct?
>>>
>>> Correct - it either needs to be in your $PATH, or you'll need to specify
>>> it via --qmake.
>>>
>>> Florian
>>>
>>> --
>>> me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org
>>>        https://bruhin.software/ |
>>> https://github.com/sponsors/The-Compiler/
>>>        GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
>>>              I love long mails! | https://email.is-not-s.ms/
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20201223/13997664/attachment.htm>


More information about the PyQt mailing list