PyQt5 Wheels for Apple Silicon
Nick Guenther
nick.guenther at polymtl.ca
Thu Sep 21 19:09:36 BST 2023
September 18, 2023 7:16 PM, "Nick Guenther" <nick.guenther at polymtl.ca> wrote:
> September 18, 2023 5:01 AM, "Phil Thompson" <phil at riverbankcomputing.com> wrote:
>
>> The local PyPI server (https://www.riverbankcomputing.com/pypi) now has PyQt5 snapshot wheels and
>> PyQt5-Qt5 Qt wheels for Apple Silicon. I haven't had a chance to test these yet and they are
>> "experimental". They are based on Qt v5.15.10 and I intend at some point to upload Linux and
>> Windows Qt wheels using that version.
>>
>> There is also a Qt5 v5.15.10 wheel for Apple Intel Macs.
>>
>> Feedback please.
>>
>> Phil
>
> That's great! We
> (https://github.com/shimming-toolbox/Teensy-communication/issues/12#issuecomment-1724562668) will
> test and let you know.
>
We're having some trouble with the wheels:
Traceback (most recent call last):
File "/Users/main/anaconda3/envs/test/bin/teensycom-gui", line 5, in <module>
from shimming_toolbox_teensy.GUI import main
File "/Users/main/anaconda3/envs/test/lib/python3.11/site-packages/shimming_toolbox_teensy/GUI.py", line 7, in <module>
from PyQt5 import QtCore, QtGui, QtWidgets, uic
ImportError: dlopen(/Users/main/anaconda3/envs/test/lib/python3.11/site-packages/PyQt5/QtCore.abi3.so, 0x0002): Library not loaded: @rpath/QtCore.framework/Versions/5/QtCore
Referenced from: <4CF3227A-1F18-3453-BAD9-97B5A49A6CF7> /Users/main/anaconda3/envs/test/lib/python3.11/site-packages/PyQt5/QtCore.abi3.so
Reason: tried: '/Users/main/anaconda3/envs/test/lib/python3.11/site-packages/PyQt5/Qt5/lib/QtCore.framework/Versions/5/QtCore' (no such file), '/Users/main/anaconda3/envs/test/lib/python3.11/site-packages/PyQt5/Qt5/lib/QtCore.framework/Versions/5/QtCore' (no such file), '/Users/main/anaconda3/envs/test/bin/../lib/QtCore.framework/Versions/5/QtCore' (no such file), '/Users/main/anaconda3/envs/test/bin/../lib/QtCore.framework/Versions/5/QtCore' (no such file), '/Library/Frameworks/QtCore.framework/Versions/5/QtCore' (no such file), '/System/Library/Frameworks/QtCore.framework/Versions/5/QtCore' (no such file, not in dyld cache)
I'm not sure if this is Anaconda's fault or something else. The next time we sit down together I will dig into it.
More information about the PyQt
mailing list