I've spent the last two days trying to install Azure CLI 2.0 per instructions on https://learn.microsoft.com/en-us/cli/azure/install-azure-cli This is a Mac running Sierra 10.12.2.
creating build/temp.macosx-10.6-x86_64-2.7 gcc -fno-strict-aliasing -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Applications/MAMP/Library/include/python2.7 -c _scandir.c -o build/temp.macosx-10.6-x86_64-2.7/_scandir.o _scandir.c:14:10: fatal error: 'Python.h' file not found #include ^ 1 error generated. error: command 'gcc' failed with exit status 1
---------------------------------------- Failed building wheel for scandir