OS X: Unable to execute clang: No such file or directory Solution

If you’re fighting against an installation resulting in a command-line error like the following:
unable to execute clang: No such file or directory

Remember to install latest Xcode version and, then:

– Open Xcode
– Go to “Preferences”
– Select “Download” tab
– Install Command Line Tools

I received the message after trying to install psycopg2

Show Comments