安装compi后重新安装SQLAlchemy并加速

2024-04-23 16:40:27 发布

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

我试图用pip3 install sqlalchemy安装sqlalchemy,但是我没有安装clang,所以它警告说“没有启用加速”。如何在OS X Yosemite上获得clang,然后如何重新安装sqlalchemy?你知道吗

command '/usr/bin/clang' failed with exit status 1
WARNING: The C extension could not be compiled, speedups are not enabled.
Failure information, if any, is above.
Retrying the build without the C extension now.
WARNING: The C extension could not be compiled, speedups are not enabled.
Plain-Python build succeeded.

Tags: thebuildsqlalchemyextensionnotenabledbeare
1条回答
网友
1楼 · 发布于 2024-04-23 16:40:27

要获得clang,您需要从appstore安装XCode。你知道吗

之后,可以使用pip install upgrade force-reinstall SQLAlchemy重新安装SQLAlchemy

相关问题 更多 >