-
Notifications
You must be signed in to change notification settings - Fork 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
mac Apple M1 是否支持? #1555
Comments
嗨,@huangbz2007!很高兴再次见到你。希望一切都好! 根据您提供的错误信息,问题出在 这个问题并非特定于 您可以尝试以下步骤来解决这个问题:
pip uninstall pydantic
pip install pydantic 这将会从 PyPI 下载 如果这个方法不能解决问题,那么可能需要考虑使用 Rosetta 2 来运行 Python。Rosetta 2 是 Apple 提供的一个转换层,可以让为 Intel 架构编写的应用在 Apple Silicon 上运行。您可以参考 Apple 的官方文档 来了解如何使用 Rosetta 2。 希望这些信息对您有所帮助。如果您有任何其他问题或需要进一步的帮助,请随时告诉我。 Sources
|
请问我们以本地源码方式启动,有相关说明文档? |
您好, 请查看 https://pre-release.langflow.org/ 上的文档。 |
es/fastapi/exceptions.py", line 3, in
from pydantic import BaseModel, create_model
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pydantic/init.py", line 383, in getattr
module = import_module(module_name, package=package)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pydantic/main.py", line 12, in
import pydantic_core
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pydantic_core/init.py", line 6, in
from ._pydantic_core import (
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pydantic_core/_pydantic_core.cpython-311-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pydantic_core/_pydantic_core.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/pydantic_core/_pydantic_core.cpython-311-darwin.so' (no such file), '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pydantic_core/_pydantic_core.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: