<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>This one-liner fails on Mac (macbook air M1, OS Big Sur 11.6):</p>
    <blockquote>
      <div
style="color: #3b3b3b;background-color: #ffffff;font-family: 'Droid Sans Mono', 'monospace', monospace;font-weight: normal;font-size: 15px;line-height: 20px;white-space: pre;"><div><span
      style="color: #af00db;">from</span><span style="color: #3b3b3b;"> </span><span
      style="color: #267f99;">PyQt5</span><span style="color: #3b3b3b;">.</span><span
      style="color: #267f99;">QtWidgets</span><span
      style="color: #3b3b3b;"> </span><span style="color: #af00db;">import</span><span
      style="color: #3b3b3b;"> </span><span style="color: #000000;">*</span></div></div>
    </blockquote>
    <div
style="color: #3b3b3b;background-color: #ffffff;font-family: 'Droid Sans Mono', 'monospace', monospace;font-weight: normal;font-size: 15px;line-height: 20px;white-space: pre;"><div><span
    style="color: #000000;"></span>with this output on Py3.10 and same on Py3.11:</div><blockquote><div>
</div>python3.10 test4mac.py
Exception: dlopen(/opt/homebrew/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so, 2): Symbol not found: __ZTVNSt3__13pmr25monotonic_buffer_resourceE
Referenced from: /opt/homebrew/lib/python3.10/site-packages/PyQt5/Qt5/lib/QtCore.framework/Versions/5/QtCore
Expected in: /usr/lib/libc++.1.dylib
in /opt/homebrew/lib/python3.10/site-packages/PyQt5/Qt5/lib/QtCore.framework/Versions/5/QtCore


python3.11 test4mac.py
Exception: dlopen(/Users/alkaddy/Library/Python/3.11/lib/python/site-packages/PyQt5/QtWidgets.abi3.so, 2): Symbol not found: __ZTVNSt3__13pmr25monotonic_buffer_resourceE
Referenced from: /Users/alkady/Library/Python/3.11/lib/python/site-packages/PyQt5/Qt5/lib/QtCore.framework/Versions/5/QtCore
Expected in: /usr/lib/libc++.1.dylib
in /Users/alesandro/Library/Python/3.11/lib/python/site-packages/PyQt5/Qt5/lib/QtCore.framework/Versions/5/QtCore
</blockquote><div>The tiny test program is attached.</div><div>
</div><div>The PyQt stuff had been installed with:</div><blockquote><div><pre><code>python3 -m pip uninstall PyQt5 PyQt5-sip</code></pre></div></blockquote><div>Any guidance? Thanks.</div><div>ullix</div><div>
<span style="color: #000000;"></span></div></div>
    <p></p>
  </body>
</html>