[PyQt] PyQt Digest, Vol 171, Issue 16

Patrick Stinson patrickkidd at gmail.com
Sun Oct 14 02:27:30 BST 2018


Yes, the outstanding question is now the PyQt5.pyrcc.

> On Oct 13, 2018, at 5:32 PM, Kyle Altendorf <sda at fstab.net> wrote:
> 
> 
> 
>> On 2018-10-13 19:08, David Beck wrote:
>> Yes, but I’ve had no luck with anything else. The .app that comes out
>> of pyqtdeploy-build crashes and when I run it in the console I get
>> iMac-2:~ David$
>> /Users/David/OpenSource/ELFBDeployment/build-macos-64/eFieldbook.app/Contents/MacOS/eFieldbook
>> ; exit;
>> Traceback (most recent call last):
>>  File "eFieldBook.py", line 1, in <module>
>>  File "bootstrap.py", line 1035, in _handle_fromlist
>>  File "bootstrap.py", line 219, in _call_with_frames_removed
>>  File "bootstrap.py", line 983, in _find_and_load
>>  File "bootstrap.py", line 967, in _find_and_load_unlocked
>>  File "bootstrap.py", line 670, in _load_unlocked
>>  File "bootstrap.py", line 583, in module_from_spec
>>  File "bootstrap.py", line 746, in create_module
>>  File "bootstrap.py", line 219, in _call_with_frames_removed
>>  File "bootstrap.py", line 983, in _find_and_load
>>  File "bootstrap.py", line 965, in _find_and_load_unlocked
>> ModuleNotFoundError: No module named 'PyQt5.sip'
>> logout
>> Is there something I need to do that is pre-built in to the demo?
> 
> I think this error got resolved and they were on to something else.
> 
>>>>>>>> Did you see the new build instructions?
>>>>>>>> http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#downloading-sip
>>>>>>>> Cheers,
>>>>>>>> -kyle
> 
> 
> 
>>> On Oct 13, 2018, at 9:44 AM, Phil Thompson <phil at riverbankcomputing.com> wrote:
>>> The demo should work fine.
>>> Phil
>>>> On 13/10/2018 17:39, David Beck wrote:
>>>> 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
>>>>> *************************************
>>>> _______________________________________________
>>>> PyQt mailing list    PyQt at riverbankcomputing.com
>>>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>> _______________________________________________
>> PyQt mailing list    PyQt at riverbankcomputing.com
>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt


More information about the PyQt mailing list