I am trying to install python 2.7.18 after it was removed from MacBook devices in the Monterey update and I am having issues.
I was able to install brew and Pyenv, but when it came to installing 2.7.18 I got an error message saying -
"Include/pymactoolbox.h:10:10: fatal error: 'Carbon/Carbon.h' file not found #include <Carbon/Carbon.h> ^~~~~~~~~~~~~~~~~ 1 error generated. make: *** [Python/mactoolboxglue.o] Error 1 make: *** Waiting for unfinished jobs.... "