Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

mac os m1 from PyQt5.QtCore import PYQT_VERSION_STR, QDir, QFile #1020

Open
wscot001 opened this issue Nov 11, 2023 · 1 comment
Open

mac os m1 from PyQt5.QtCore import PYQT_VERSION_STR, QDir, QFile #1020

wscot001 opened this issue Nov 11, 2023 · 1 comment

Comments

@wscot001
Copy link

wscot001 commented Nov 11, 2023

image

pyrcc5 -o libs/resources.py resources.qrc
Traceback (most recent call last):
File "/Users/a58/anaconda3/envs/ultralytics/bin/pyrcc5", line 5, in
from PyQt5.pyrcc_main import main
File "/Users/a58/anaconda3/envs/ultralytics/lib/python3.12/site-packages/PyQt5/pyrcc_main.py", line 21, in
from PyQt5.QtCore import PYQT_VERSION_STR, QDir, QFile
ImportError: dlopen(/Users/a58/anaconda3/envs/ultralytics/lib/python3.12/site-packages/PyQt5/QtCore.abi3.so, 0x0002): Symbol not found: __ZTVNSt3__13pmr25monotonic_buffer_resourceE
Referenced from: <645DDC2C-F655-324A-BE87-40804F3AC471> /Users/a58/anaconda3/envs/ultralytics/lib/python3.12/site-packages/PyQt5/Qt5/lib/QtCore.framework/Versions/5/QtCore
Expected in: /usr/lib/libc++.1.dylib
make: *** [qt5py3] Error 1

  • OS: mac os m1 13.0.1
  • PyQt version:5.15.10
@YUcxovo
Copy link

YUcxovo commented Dec 18, 2023

try to make a new environment with python version 3.9

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants