-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
执行make backend 错误 #1557
Comments
嘿,@huangbz2007,又见面了!希望一切都好。👽 这个错误是由于Python的CFFI库在一个不兼容的架构('arm64'和'x86_64')上运行导致的。你可以尝试以下步骤来解决这个问题:
通过更新到Python 3.11的基础镜像并在构建过程中指定目标平台,你应该能够解决你面临的架构兼容性问题。如果你在一个使用多种架构的开发环境中工作,设置多架构镜像可能是最稳健的解决方案。 参考资料: 关于
参考资料: langflow仓库需要的确切Python版本是">=3.9,<3.12"。 Sources
|
你好, |
Hi @huangbz2007 We hope you're doing well. Just a friendly reminder that if we do not hear back from you within the next 3 days, we will close this issue. If you need more time or further assistance, please let us know. Thank you for your understanding! |
Thank you for your contribution! This issue will be closed. If you have any questions or encounter another problem, please open a new issue and we will be ready to assist you. |
1、make backend
2、错误
dlopen(/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_cffi_backend.cpython-311-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_cffi_backend.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_cffi_backend.cpython-311-darwin.so' (no such file), '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_cffi_backend.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
The text was updated successfully, but these errors were encountered: