Closed genghisken closed 3 years ago
Using Python 3.8 shouldn't make a difference as is nothing to do with Python. You must have had a cached build for that version and it used that.
Anyway, the problem is caused by Apple not having released properly the compiler command line tools package for the latest Xcode release. Normally you would run xcode-select --install
to update them when Xcode is updated, but that doesn't work, so the current compiler tools are incompatible and don't work in this case.
If you are part of the Apache developer program, apparently you can download the latest command line tools package from:
For the rest of us, this isn't going to work until Apple gets their act together and releases the compiler command line tools package properly so xcode-select --install
works.
Thanks Graham. Appreciate the response. We rely a lot on mod_wsgi-express (especially because we're slowly migrating away from our embedded mod_wsgi installs in python 2), and Catalina has been a bit of a nightmare for our development environments! (Deployments are generally on CentOS7 and Ubuntu 18/20, so at least live systems OK.)
Here's hoping that Apple will get their act together!
Has there been any update on this? Im currently running into the issue.
For me on Catalina it still doesn't appear to work.
xcode-select version 2373.
The xcode-select --install
command says tools are installed and to rely on Software Update to update, but there aren't any updates.
Running Xcode and ensuring it can install its updated components doesn't make a difference.
I haven't tried yet more brutal method of resetting xcode-select
with --reset
option, deleting Xcode.app
, and then reinstalling Xcode and running xcode-select --install
again, as don't want to upset things on my main machine. Will try and do that on a secondary machine later and see if helps.
Removing Xcode and reinstalling it doesn't help.
So only solution seems to still be to have an Apple Developer account and download the correct update from the Apple Developer web site.
Closing this as believe more recent macOS/Xcode versions resolve issue.
Hi Graham
I just spotted that I can't install mod_wsgi-standalone under (Anaconda) python 3.7 in MacOS Catalina (10.15.7). Works fine for python 3.8. I can also install mod_wsgi in python 3.7 OK, but not mod_wsgi-standalone!
Here is the mod_wsgi-standalone error we're getting: