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

Patrick Stinson patrickkidd at gmail.com
Sun Oct 7 21:58:35 BST 2018


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> 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> wrote:
>> 
>> 
>> 
>>> On October 7, 2018 4:00:18 PM EDT, Patrick Stinson <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
>> 
>> Cheers,
>> -kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20181007/af91fa51/attachment.html>


More information about the PyQt mailing list