安装编译器后,使用加速重新安装SQLAlchemy

时间:2015-08-11 21:54:55

标签: python macos sqlalchemy clang

我尝试使用sqlalchemy安装pip3 install sqlalchemy,但我没有安装clang,因此它警告“#34;加速未启用"”。如何在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.

1 个答案:

答案 0 :(得分:3)

要获得铿锵声,您需要从App Store安装XCode。

之后,您可以使用pip install --upgrade --force-reinstall SQLAlchemy

重新安装SQLAlchemy