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
  • 14,048
  • 3
  • 67
  • 77
Steven Nestor
  • 69
  • 1
  • 5
  • 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
  • 57,726
  • 6
  • 119
  • 134