[PyQt] PyQt Digest, Vol 171, Issue 16

David Beck dbeck at ualberta.ca
Sat Oct 13 16:39:15 BST 2018


I was wondering if anyone had come up with a solution to this? Would it be possible to build sip in the src directory with the ‘pyqt5.sip’ option and point pyqtdeploy-sysroot to that rather than the .tar file?

> 
> Message: 2
> Date: Sun, 7 Oct 2018 16:38:48 -0700
> From: Patrick Stinson <patrickkidd at gmail.com>
> To: Kyle Altendorf <sda at fstab.net>
> Cc: PyQt mailing list <pyqt at riverbankcomputing.com>
> Subject: Re: [PyQt] ModuleNotFoundError: No module named 'PyQt5.sip'
> Message-ID: <77F66F3D-6804-41CB-AB36-C5CB7C34BF12 at gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> In trying to build a sysroot for iOS I noticed that pyqtdeploy-sysroot 2.2 seems not to honor this new option. And “configure_options” is not a valid option for sip in sysroot.json…
> 
> Thoughts?
> 
> 
>> On Oct 7, 2018, at 1:58 PM, Patrick Stinson <patrickkidd at gmail.com> wrote:
>> 
>> Well, the second error went away for me after running male install a few times. No idea what that’s about. Maybe a concurrency problem in the makefiles. Anyway, cheers.
>> 
>> On Oct 7, 2018, at 1:53 PM, Patrick Stinson <patrickkidd at gmail.com <mailto:patrickkidd at gmail.com>> wrote:
>> 
>>> That did help. However, now I’m getting the following error for pyrcc5:
>>> 
>>> turin:pkdiagram patrick$ make run
>>> pyrcc5 pkdiagram/resources/pkdiagram.qrc -o pkdiagram/resources.py
>>> Traceback (most recent call last):
>>>  File "/Users/patrick/dev/vendor/sysroot-dev/lib/python3.6/runpy.py", line 193, in _run_module_as_main
>>>    "__main__", mod_spec)
>>>  File "/Users/patrick/dev/vendor/sysroot-dev/lib/python3.6/runpy.py", line 85, in _run_code
>>>    exec(code, run_globals)
>>>  File "/Users/patrick/dev/vendor/sysroot-dev/lib/python3.6/site-packages/PyQt5/pyrcc_main.py", line 23, in <module>
>>>    from .pyrcc import *
>>> ModuleNotFoundError: No module named 'PyQt5.pyrcc'
>>> 
>>> I don’t see another entry in those build docs for this...
>>> 
>>> On Oct 7, 2018, at 1:38 PM, Kyle Altendorf <sda at fstab.net <mailto:sda at fstab.net>> wrote:
>>> 
>>>> 
>>>> 
>>>> On October 7, 2018 4:00:18 PM EDT, Patrick Stinson <patrickkidd at gmail.com <mailto:patrickkidd at gmail.com>> wrote:
>>>>> Is anyone else seeing this error when building Python, sip-5.11.3, and
>>>>> PyQt5-5.11.2 from source on MacOSX (Mojave)? I am using Python-3.6.4.
>>>>> 
>>>>> turin:pkdiagram patrick$ python -c "import PyQt5.QtCore"
>>>>> Traceback (most recent call last):
>>>>> File "<string>", line 1, in <module>
>>>>> ModuleNotFoundError: No module named 'PyQt5.sip'
>>>> 
>>>> Did you see the new build instructions?
>>>> 
>>>> http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#downloading-sip <http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#downloading-sip>
>>>> 
>>>> Cheers,
>>>> -kyle
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20181007/0c5e5ada/attachment-0001.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> PyQt mailing list
> PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
> 
> ------------------------------
> 
> End of PyQt Digest, Vol 171, Issue 16
> *************************************



More information about the PyQt mailing list