Weird Pip / Distutils / Config.py Error of the Day: distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now “10.4” but “10.7” during configure

Should you see:

"distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.7" during configure"

the problem is relfected in Lib/distutils/sysconfig.py

Also noted at gimmebar, where a simple solution is given:

export MACOSX_DEPLOYMENT_TARGET=10.7

Advertisements