0

I want to run Django project on Apache. So I tried to install mod_wsgi. I got this error

sudo pip3 install mod_wsgi

then I got this error

error: command '/usr/bin/clang' failed with exit status 1
shadowsheep
  • 12,454
  • 3
  • 58
  • 72
  • Possible duplicate of ["'cc' failed with exit status 1" error when install python library](https://stackoverflow.com/questions/22697440/cc-failed-with-exit-status-1-error-when-install-python-library) – shadowsheep Feb 26 '18 at 22:56

1 Answers1

0

For macOS you need to have installed both the Xcode application and the Xcode command line tools.

Graham Dumpleton
  • 56,277
  • 6
  • 111
  • 129