在我的M1 MacBook Air上运行IBridgePy时卡住了

2024-09-26 22:09:50 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经使用自制软件安装了python3.9,并按照IBridgePy视频中的所有说明进行了操作。在运行run_ME.py文件时,出现以下错误:

ImportError: dlopen(/Users/redwall/Desktop/IBridgePy_Mac_Python39_64/IBridgePy/IBCpp.so, 2): no suitable image found.  Did find:
    /Users/redwall/Desktop/IBridgePy_Mac_Python39_64/IBridgePy/IBCpp.so: mach-o, but wrong architecture
    /Users/redwall/Desktop/IBridgePy_Mac_Python39_64/IBridgePy/IBCpp.so: mach-o, but wrong architecture

当我运行file$(哪种python)时,我得到以下结果:

/usr/bin/python: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]
/usr/bin/python (for architecture x86_64):  Mach-O 64-bit executable x86_64
/usr/bin/python (for architecture arm64e):  Mach-O 64-bit executable arm64e

构建是否存在任何问题,或者对如何解决此导入错误有何想法

非常感谢你的帮助


Tags: somacusrbitusersx86machdesktop

热门问题