"Compilation failed" on OS X Mojave

I was receiving the same error and reinstalled clang from my Anaconda environment to get it to work.