[PyQt] ModuleNotFoundError: No module named 'PyQt5.sip'

Patrick Stinson patrickkidd at gmail.com
Mon Oct 8 00:38:48 BST 2018


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.html>


More information about the PyQt mailing list