Python: mach-o, but wrong architecture
cuongngoz opened this issue · comments
I tried open RESP app on macbook M1 Apple chip, geting this issue
Dyld Error Message:
Library not loaded: /usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/Python
Referenced from: /Applications/RESP.app/Contents/MacOS/RESP
Reason: no suitable image found. Did find:
/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/Python: mach-o, but wrong architecture
/opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/Python: mach-o, but wrong architecture
FYI, check this post:
TIP | The BEST way to install Homebrew (Brew) on Apple Silicon (M1)
我也遇到的相同的问题, 最新的几个版本都不行
架构不兼容,提示不是 x86_64
![]()
按照这个,安装一个别的版本的homebrew,然后用这个版本的homebrew安装python。
#22 (comment)