[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] ModuleNotFoundError: No module named 'PyQt5.sip'
From:       Patrick Stinson <patrickkidd () gmail ! com>
Date:       2018-10-07 23:38:48
Message-ID: 77F66F3D-6804-41CB-AB36-C5CB7C34BF12 () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@gmail.com \
> <mailto:patrickkidd@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@fstab.net <mailto:sda@fstab.net>> \
> > wrote: 
> > > 
> > > 
> > > On October 7, 2018 4:00:18 PM EDT, Patrick Stinson <patrickkidd@gmail.com \
> > > <mailto:patrickkidd@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


[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
line-break: after-white-space;" class="">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…<div class=""><br \
class=""></div><div class="">Thoughts?</div><div class=""><br class=""></div><div \
class=""><br class=""><div class=""><div><blockquote type="cite" class=""><div \
class="">On Oct 7, 2018, at 1:58 PM, Patrick Stinson &lt;<a \
href="mailto:patrickkidd@gmail.com" class="">patrickkidd@gmail.com</a>&gt; \
wrote:</div><br class="Apple-interchange-newline"><div class=""><meta \
http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" \
class=""><div dir="ltr" class=""></div><div dir="ltr" class="">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.</div><div dir="ltr" \
class=""><br class="">On Oct 7, 2018, at 1:53 PM, Patrick Stinson &lt;<a \
href="mailto:patrickkidd@gmail.com" class="">patrickkidd@gmail.com</a>&gt; wrote:<br \
class=""><br class=""></div><blockquote type="cite" class=""><div dir="ltr" \
class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" \
class=""><div dir="ltr" class=""></div><div dir="ltr" class="">That did help. \
However, now I'm getting the following error for pyrcc5:</div><div dir="ltr" \
class=""><br class=""></div><div dir="ltr" class=""><div style="margin: 0px; \
font-stretch: normal; font-size: 13px; line-height: normal; font-family: Helvetica; \
color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.85098);" class=""><span \
style="font-size: 13pt; font-variant-ligatures: no-common-ligatures;" \
class="">turin:pkdiagram patrick$ make run</span></div><div style="margin: 0px; \
font-stretch: normal; font-size: 13px; line-height: normal; font-family: Helvetica; \
color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.85098);" class=""><span \
style="font-size: 13pt; font-variant-ligatures: no-common-ligatures;" class="">pyrcc5 \
pkdiagram/resources/pkdiagram.qrc -o pkdiagram/resources.py</span></div><div \
style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; \
font-family: Helvetica; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, \
0.85098);" class=""><span style="font-size: 13pt; font-variant-ligatures: \
no-common-ligatures;" class="">Traceback (most recent call last):</span></div><div \
style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; \
font-family: Helvetica; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, \
0.85098);" class=""><span style="font-size: 13pt; font-variant-ligatures: \
no-common-ligatures;" class="">&nbsp; File \
"/Users/patrick/dev/vendor/sysroot-dev/lib/python3.6/runpy.py", line 193, in \
_run_module_as_main</span></div><div style="margin: 0px; font-stretch: normal; \
font-size: 13px; line-height: normal; font-family: Helvetica; color: rgb(244, 244, \
244); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-size: \
13pt; font-variant-ligatures: no-common-ligatures;" class="">&nbsp; &nbsp; \
"__main__", mod_spec)</span></div><div style="margin: 0px; font-stretch: normal; \
font-size: 13px; line-height: normal; font-family: Helvetica; color: rgb(244, 244, \
244); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-size: \
13pt; font-variant-ligatures: no-common-ligatures;" class="">&nbsp; File \
"/Users/patrick/dev/vendor/sysroot-dev/lib/python3.6/runpy.py", line 85, in \
_run_code</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; \
line-height: normal; font-family: Helvetica; color: rgb(244, 244, 244); \
background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-size: 13pt; \
font-variant-ligatures: no-common-ligatures;" class="">&nbsp; &nbsp; exec(code, \
run_globals)</span></div><div style="margin: 0px; font-stretch: normal; font-size: \
13px; line-height: normal; font-family: Helvetica; color: rgb(244, 244, 244); \
background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-size: 13pt; \
font-variant-ligatures: no-common-ligatures;" class="">&nbsp; File \
"/Users/patrick/dev/vendor/sysroot-dev/lib/python3.6/site-packages/PyQt5/pyrcc_main.py", \
line 23, in &lt;module&gt;</span></div><div style="margin: 0px; font-stretch: normal; \
font-size: 13px; line-height: normal; font-family: Helvetica; color: rgb(244, 244, \
244); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-size: \
13pt; font-variant-ligatures: no-common-ligatures;" class="">&nbsp; &nbsp; from \
.pyrcc import *</span></div><div style="margin: 0px; font-stretch: normal; font-size: \
13px; line-height: normal; font-family: Helvetica; color: rgb(244, 244, 244); \
background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-size: 13pt; \
font-variant-ligatures: no-common-ligatures;" class="">ModuleNotFoundError: No module \
named 'PyQt5.pyrcc'</span></div></div><div dir="ltr" class=""><br class=""></div><div \
dir="ltr" class="">I don't see another entry in those build docs for \
this...</div><div dir="ltr" class=""><br class="">On Oct 7, 2018, at 1:38 PM, Kyle \
Altendorf &lt;<a href="mailto:sda@fstab.net" class="">sda@fstab.net</a>&gt; wrote:<br \
class=""><br class=""></div><blockquote type="cite" class=""><div dir="ltr" \
class=""><span class=""></span><br class=""><span class=""></span><br class=""><span \
class="">On October 7, 2018 4:00:18 PM EDT, Patrick Stinson &lt;<a \
href="mailto:patrickkidd@gmail.com" class="">patrickkidd@gmail.com</a>&gt; \
wrote:</span><br class=""><blockquote type="cite" class=""><span class="">Is anyone \
else seeing this error when building Python, sip-5.11.3, and</span><br \
class=""></blockquote><blockquote type="cite" class=""><span class="">PyQt5-5.11.2 \
from source on MacOSX (Mojave)? I am using Python-3.6.4.</span><br \
class=""></blockquote><blockquote type="cite" class=""><span class=""></span><br \
class=""></blockquote><blockquote type="cite" class=""><span class="">turin:pkdiagram \
patrick$ python -c "import PyQt5.QtCore"</span><br class=""></blockquote><blockquote \
type="cite" class=""><span class="">Traceback (most recent call last):</span><br \
class=""></blockquote><blockquote type="cite" class=""><span class=""> File \
"&lt;string&gt;", line 1, in &lt;module&gt;</span><br \
class=""></blockquote><blockquote type="cite" class=""><span \
class="">ModuleNotFoundError: No module named 'PyQt5.sip'</span><br \
class=""></blockquote><span class=""></span><br class=""><span class="">Did you see \
the new build instructions?</span><br class=""><span class=""></span><br \
class=""><span class=""><a \
href="http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#downloading-sip" \
class="">http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#downloading-sip</a></span><br \
class=""><span class=""></span><br class=""><span class="">Cheers,</span><br \
class=""><span class="">-kyle</span><br \
class=""></div></blockquote></div></blockquote></div></div></blockquote></div><br \
class=""></div></div></body></html>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic