Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reinstall SQLAlchemy with speedups after installing compiler

I tried to install sqlalchemy using pip3 install sqlalchemy, but I didn't have clang installed so it warned that "speedups are not enabled". How do I get clang on OS X Yosemite and then how do I reinstall 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.
like image 556
dsaxton Avatar asked Feb 25 '26 08:02

dsaxton


1 Answers

To get clang you need to install XCode from the App Store.

After that you can re-install SQLAlchemy with pip install --upgrade --force-reinstall SQLAlchemy

like image 86
foz Avatar answered Feb 26 '26 23:02

foz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!